wok-6.x annotate lftp/receipt @ rev 8021
up: xfce4-appfinder (4.8.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 20 02:16:19 2011 +0100 (2011-01-20) |
parents | 4028956dac35 |
children | 67add2e0238f |
rev | line source |
---|---|
mimas@2027 | 1 # SliTaz package receipt. |
mimas@2027 | 2 |
mimas@2027 | 3 PACKAGE="lftp" |
slaxemulator@7985 | 4 VERSION="4.1.3" |
mimas@2027 | 5 CATEGORY="network" |
mimas@2027 | 6 SHORT_DESC="Small but powerful ftp client" |
mimas@2027 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@5003 | 8 DEPENDS="readline expat gcc-lib-base" |
pankso@3160 | 9 BUILD_DEPENDS="readline-dev expat-dev" |
erjo@4298 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 \ |
pascal@5003 | 24 $CONFIGURE_ARGS && |
pascal@5003 | 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 |