2006-02-23 16:26:10 +01:00
|
|
|
# Description: Sophisticated command line based FTP client
|
|
|
|
# URL: http://lftp.yar.ru/
|
2006-04-08 17:21:33 +02:00
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
name=lftp
|
2007-08-25 11:27:24 +02:00
|
|
|
version=3.5.13
|
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
|
|
|
|
2006-04-08 17:21:33 +02: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
|
|
|
|
}
|