summaryrefslogtreecommitdiff
path: root/libidn-32/Pkgfile
blob: 2439481c6cf36531298e4c5fcaf017e56d8fbd27 (plain)
    1 # Description: Provides support for IETF Internationalized Domain Names (IDN).
    2 # URL: http://www.gnu.org/software/libidn/
    3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
    4 # Depends on: libidn
    5 
    6 name=libidn-32
    7 version=1.33
    8 release=1
    9 source=(http://ftp.gnu.org/gnu/libidn/libidn-$version.tar.gz)
   10 
   11 build() {
   12 	cd libidn-$version
   13 
   14 	./configure \
   15 		--prefix=/usr \
   16 		--libdir=/usr/lib32 \
   17 		--disable-nls
   18 
   19 	make
   20 	make DESTDIR=$PKG install
   21 
   22 	rm -r \
   23 		$PKG/usr/{bin,include,share/man} \
   24 		$PKG/usr/share/emacs
   25 	
   26 	rm -rf $PKG/usr/share/info
   27 
   28 	# Remove empty directories
   29 	find $PKG -depth -empty -exec rm -r {} \;
   30 }

Generated by cgit