opt/lftp/Pkgfile

29 lines
644 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Sophisticated command line based FTP client
# URL: http://lftp.yar.ru/
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
2006-02-23 16:26:10 +01:00
# Depends on: openssl
name=lftp
2006-08-10 20:10:18 +02:00
version=3.5.4
2006-02-23 16:26:10 +01:00
release=1
source=(http://ftp.yars.free.net/$name/$name-$version.tar.bz2)
build() {
2006-02-23 16:26:10 +01:00
cd $name-$version
2006-07-31 18:43:09 +02:00
./configure --prefix=/usr --disable-nls --with-openssl=/usr \
--mandir=/usr/man
2006-02-23 16:26:10 +01:00
make -C src confpaths.h
echo "#undef SYSCONFDIR" >> src/confpaths.h
echo "#define SYSCONFDIR \"/usr/etc\"" >> src/confpaths.h
make
make DESTDIR=$PKG install
mkdir $PKG/usr/etc
mv $PKG/etc/lftp.conf $PKG/usr/etc
rmdir $PKG/etc
rm -r $PKG/usr/lib
}