29 lines
658 B
Plaintext
29 lines
658 B
Plaintext
# Description: Sophisticated command line based FTP client
|
|
# URL: http://lftp.yar.ru/
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: openssl
|
|
|
|
name=lftp
|
|
version=3.6.1
|
|
release=1
|
|
source=(http://tactical.wiretapped.net/mirrors/$name/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
./configure --prefix=/usr --disable-nls --with-openssl=/usr \
|
|
--mandir=/usr/man
|
|
|
|
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
|
|
}
|