opt/lftp/Pkgfile

29 lines
659 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
2007-09-03 16:29:07 +02:00
version=3.5.14
2006-02-23 16:26:10 +01:00
release=1
2007-06-18 07:34:55 +02:00
source=(http://tactical.wiretapped.net/mirrors/$name/$name-$version.tar.bz2)
2006-02-23 16:26:10 +01:00
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
}