wok-current annotate lftp/receipt @ rev 3247
Add perl-net-snmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 30 15:35:57 2009 +0200 (2009-05-30) |
parents | 5071bf3c930a |
children | 3dd05b22268d |
rev | line source |
---|---|
mimas@2027 | 1 # SliTaz package receipt. |
mimas@2027 | 2 |
mimas@2027 | 3 PACKAGE="lftp" |
mimas@2027 | 4 VERSION="3.7.7" |
mimas@2027 | 5 CATEGORY="network" |
mimas@2027 | 6 SHORT_DESC="Small but powerful ftp client" |
mimas@2027 | 7 MAINTAINER="mimas@slitaz.org" |
pankso@3160 | 8 DEPENDS="readline expat" |
pankso@3160 | 9 BUILD_DEPENDS="readline-dev expat-dev" |
mimas@2027 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2027 | 11 WEB_SITE="http://lftp.yar.ru/" |
mimas@2027 | 12 WGET_URL="http://ftp.yars.free.net/pub/source/lftp/$TARBALL" |
mimas@2027 | 13 |
mimas@2027 | 14 # Rules to configure and make the package. |
mimas@2027 | 15 compile_rules() |
mimas@2027 | 16 { |
mimas@2027 | 17 cd $src |
mimas@2027 | 18 ./configure \ |
mimas@2027 | 19 --prefix=/usr \ |
mimas@2027 | 20 --infodir=/usr/share/info \ |
mimas@2027 | 21 --without-gnutls \ |
mimas@2027 | 22 --without-openssl \ |
mimas@2027 | 23 --mandir=/usr/share/man \ |
mimas@2027 | 24 $CONFIGURE_ARGS |
mimas@2027 | 25 make |
mimas@2027 | 26 make DESTDIR=$PWD/_pkg install |
mimas@2027 | 27 } |
mimas@2027 | 28 |
mimas@2027 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2027 | 30 genpkg_rules() |
mimas@2027 | 31 { |
mimas@2027 | 32 mkdir -p $fs/usr |
mimas@2027 | 33 cp -a $_pkg/usr/bin $fs/usr |
mimas@2027 | 34 strip -s $fs/usr/bin/* |
mimas@2027 | 35 } |
mimas@2027 | 36 |