blob: 4fadcdc7f6f15e1aa72f68dececd9546330a205d (
plain)
1 # Description: Sophisticated command line based FTP client
2 # URL: http://lftp.yar.ru/
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Depends on: openssl
5
6 name=lftp
7 version=3.6.1
8 release=1
9 source=(http://tactical.wiretapped.net/mirrors/$name/$name-$version.tar.bz2)
10
11 build() {
12 cd $name-$version
13 ./configure --prefix=/usr --disable-nls --with-openssl=/usr \
14 --mandir=/usr/man
15
16 make -C src confpaths.h
17
18 echo "#undef SYSCONFDIR" >> src/confpaths.h
19 echo "#define SYSCONFDIR \"/usr/etc\"" >> src/confpaths.h
20
21 make
22 make DESTDIR=$PKG install
23
24 mkdir $PKG/usr/etc
25 mv $PKG/etc/lftp.conf $PKG/usr/etc
26 rmdir $PKG/etc
27 rm -r $PKG/usr/lib
28 }
|