2006-02-23 15:26:10 +00:00
|
|
|
# Description: Sophisticated command line based FTP client
|
|
|
|
# URL: http://lftp.yar.ru/
|
2006-04-08 15:21:33 +00:00
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
name=lftp
|
2006-05-02 13:33:28 +00:00
|
|
|
version=3.4.6
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
|
|
|
source=(http://ftp.yars.free.net/$name/$name-$version.tar.bz2)
|
|
|
|
|
2006-04-08 15:21:33 +00:00
|
|
|
build() {
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr --disable-nls --with-openssl=/usr
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|