summaryrefslogtreecommitdiff
path: root/lftp/Pkgfile
blob: d70c8bef37945beb82496a35f9a6cb3897e7971a (plain)
    1 # Description: Sophisticated command line based FTP client
    2 # URL: http://lftp.yar.ru/
    3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
    4 # Depends on: openssl
    5 
    6 name=lftp
    7 version=3.5.6
    8 release=1
    9 source=(http://ftp.yars.free.net/$name/$name-$version.tar.bz2)
   10 
   11 build() {
   12 	cd $name-$version
   13 	./configure --prefix=/usr --disable-nls --with-openssl=/usr \
   14 	            --mandir=/usr/man
   15 
   16 	make -C src confpaths.h
   17 
   18 	echo "#undef SYSCONFDIR" >> src/confpaths.h
   19 	echo "#define SYSCONFDIR \"/usr/etc\"" >> src/confpaths.h
   20 
   21 	make
   22 	make DESTDIR=$PKG install
   23 
   24 	mkdir $PKG/usr/etc
   25 	mv $PKG/etc/lftp.conf $PKG/usr/etc
   26 	rmdir $PKG/etc
   27 	rm -r $PKG/usr/lib
   28 }

Generated by cgit