wok annotate lftp/receipt @ rev 2027

Add: lftp
author Fabrice THIROUX <mimas@slitaz.org>
date Fri Jan 09 00:01:38 2009 +0100 (2009-01-09)
parents
children c64846047db4
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"
mimas@2027 8 DEPENDS="readline expat libiconv"
mimas@2027 9 BUILD_DEPENDS="readline-dev expat-dev libiconv-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