wok annotate lftp/receipt @ rev 18047
Up tazusb (178), tazpanel (496), slitaz-config (254)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 14 09:18:57 2015 +0200 (2015-05-14) |
parents | d7486a2cc6d9 |
children | 3132d67b7e38 |
rev | line source |
---|---|
mimas@2027 | 1 # SliTaz package receipt. |
mimas@2027 | 2 |
mimas@2027 | 3 PACKAGE="lftp" |
slaxemulator@14619 | 4 VERSION="4.4.8" |
mimas@2027 | 5 CATEGORY="network" |
mimas@2027 | 6 SHORT_DESC="Small but powerful ftp client" |
mimas@2027 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
erjo@4298 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mimas@2027 | 10 WEB_SITE="http://lftp.yar.ru/" |
mimas@2027 | 11 WGET_URL="http://ftp.yars.free.net/pub/source/lftp/$TARBALL" |
slaxemulator@12381 | 12 CROSS="bug: failed at test" |
mimas@2027 | 13 |
slaxemulator@14619 | 14 DEPENDS="gmp readline expat gnutls gcc-lib-base" |
slaxemulator@14619 | 15 BUILD_DEPENDS="gmp-dev ncurses-dev readline-dev expat-dev gperf gnutls-dev" |
erjo@9918 | 16 |
mimas@2027 | 17 # Rules to configure and make the package. |
mimas@2027 | 18 compile_rules() |
mimas@2027 | 19 { |
mimas@2027 | 20 cd $src |
mimas@2027 | 21 ./configure \ |
slaxemulator@12381 | 22 --with-gnutls \ |
slaxemulator@10183 | 23 --without-openssl \ |
slaxemulator@12381 | 24 --build=$HOST_SYSTEM \ |
slaxemulator@12381 | 25 --host=$HOST_SYSTEM && |
pascal@15265 | 26 make && |
slaxemulator@9068 | 27 make install |
mimas@2027 | 28 } |
mimas@2027 | 29 |
mimas@2027 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2027 | 31 genpkg_rules() |
mimas@2027 | 32 { |
mimas@2027 | 33 mkdir -p $fs/usr |
slaxemulator@12381 | 34 cp -a $install/usr/bin $fs/usr |
mimas@2027 | 35 } |
mimas@2027 | 36 |