wok-next rev 1598

Add perl-sha1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:13:49 2008 +0000 (2008-10-19)
parents 3b05beb4a5db
children 9838d48424a5
files knock/receipt perl-sha1/receipt
line diff
     1.1 --- a/knock/receipt	Sun Oct 19 08:59:06 2008 +0000
     1.2 +++ b/knock/receipt	Sun Oct 19 11:13:49 2008 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Port knock sequence listener."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 +DEPENDS="iptables"
     1.8  BUILD_DEPENDS="libpcap"
     1.9  WEB_SITE="http://www.zeroflux.org/$PACKAGE"
    1.10  WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-sha1/receipt	Sun Oct 19 11:13:49 2008 +0000
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="perl-sha1"
     2.7 +VERSION="2.11"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC=" Digest::SHA1 module is a Perl extension."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +DEPENDS="perl"
    2.12 +BUILD_DEPENDS="perl"
    2.13 +SOURCE="Digest-SHA1"
    2.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.15 +WEB_SITE="http://cpan.org/"
    2.16 +WGET_URL="http://cpan.org/authors/id/G/GA/GAAS/$TARBALL"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	cd $src
    2.22 +	perl Makefile.PL
    2.23 +	make
    2.24 +	make DESTDIR=$PWD/_pkg install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr
    2.31 +	cp -a $_pkg/usr/lib $fs/usr
    2.32 +}
    2.33 +