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
|
2007-07-28 13:36:38 +02:00
|
|
|
version=3.5.12
|
2006-02-23 15:26:10 +00: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 15:26:10 +00:00
|
|
|
|
2006-04-08 15:21:33 +00:00
|
|
|
build() {
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-$version
|
2006-07-31 16:43:09 +00:00
|
|
|
./configure --prefix=/usr --disable-nls --with-openssl=/usr \
|
|
|
|
--mandir=/usr/man
|
2006-02-23 15:26:10 +00: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
|
|
|
|
}
|