wok-6.x annotate perl-digest-hmac/receipt @ rev 17734
dahdi-linux: save firmware as source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 11:23:56 2015 +0100 (2015-03-06) |
parents | d38ad8b2c6a5 |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@1665 | 9 DEPENDS="perl" |
pascal@1665 | 10 BUILD_DEPENDS="perl" |
pascal@1665 | 11 SOURCE="Digest-HMAC" |
pascal@1665 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 13 WEB_SITE="http://cpan.org/" |
pascal@1665 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1665 | 15 |
pascal@1665 | 16 # Rules to configure and make the package. |
pascal@1665 | 17 compile_rules() |
pascal@1665 | 18 { |
pascal@1665 | 19 cd $src |
pascal@1665 | 20 perl Makefile.PL && |
pascal@1665 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1665 | 23 } |
pascal@1665 | 24 |
pascal@1665 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1665 | 26 genpkg_rules() |
pascal@1665 | 27 { |
pascal@1665 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1665 | 30 } |
pascal@1665 | 31 |