wok-current annotate perl-digest-hmac/receipt @ rev 1665
Add perl-digest-hmac
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:53:36 2008 +0000 (2008-11-08) |
parents | |
children | d38ad8b2c6a5 |
rev | line source |
---|---|
pascal@1665 | 1 # SliTaz package receipt. |
pascal@1665 | 2 |
pascal@1665 | 3 PACKAGE="perl-digest-hmac" |
pascal@1665 | 4 VERSION="1.01" |
pascal@1665 | 5 CATEGORY="development" |
pascal@1665 | 6 SHORT_DESC="Digest::HMAC module is a Perl extension." |
pascal@1665 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1665 | 8 DEPENDS="perl" |
pascal@1665 | 9 BUILD_DEPENDS="perl" |
pascal@1665 | 10 SOURCE="Digest-HMAC" |
pascal@1665 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1665 | 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
pascal@1665 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1665 | 14 |
pascal@1665 | 15 # Rules to configure and make the package. |
pascal@1665 | 16 compile_rules() |
pascal@1665 | 17 { |
pascal@1665 | 18 cd $src |
pascal@1665 | 19 perl Makefile.PL && |
pascal@1665 | 20 make && |
pascal@1665 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1665 | 22 } |
pascal@1665 | 23 |
pascal@1665 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1665 | 25 genpkg_rules() |
pascal@1665 | 26 { |
pascal@1665 | 27 mkdir -p $fs/usr |
pascal@1665 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1665 | 29 } |
pascal@1665 | 30 |