wok diff lftp/receipt @ rev 2899

Add libusb-compat (Fix build of various packages)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 05 12:00:37 2009 +0200 (2009-05-05)
parents
children c64846047db4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lftp/receipt	Tue May 05 12:00:37 2009 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lftp"
     1.7 +VERSION="3.7.7"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Small but powerful ftp client"
    1.10 +MAINTAINER="mimas@slitaz.org"
    1.11 +DEPENDS="readline expat libiconv"
    1.12 +BUILD_DEPENDS="readline-dev expat-dev libiconv-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://lftp.yar.ru/"
    1.15 +WGET_URL="http://ftp.yars.free.net/pub/source/lftp/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--without-gnutls \
    1.25 +		--without-openssl \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		$CONFIGURE_ARGS
    1.28 +	make
    1.29 +	make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	strip -s $fs/usr/bin/*
    1.38 +}
    1.39 +