wok annotate perl-digest-sha1/receipt @ rev 10454
samba: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:07:10 2011 +0200 (2011-05-25) |
parents | d5ab723d6bb4 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1919 | 1 # SliTaz package receipt. |
pascal@1919 | 2 |
pascal@1919 | 3 PACKAGE="perl-digest-sha1" |
slaxemulator@10222 | 4 VERSION="2.13" |
pascal@1919 | 5 CATEGORY="development" |
pascal@1919 | 6 SHORT_DESC="Digest::SHA1 module is a Perl extension." |
pascal@1919 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1919 | 8 DEPENDS="perl" |
pascal@1919 | 9 BUILD_DEPENDS="perl" |
pascal@1919 | 10 SOURCE="Digest-SHA1" |
pascal@1919 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1919 | 12 WEB_SITE="http://cpan.org/" |
pascal@1919 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1919 | 14 |
pascal@1919 | 15 # Rules to configure and make the package. |
pascal@1919 | 16 compile_rules() |
pascal@1919 | 17 { |
pascal@1919 | 18 cd $src |
pascal@1919 | 19 perl Makefile.PL && |
pascal@1919 | 20 make && |
slaxemulator@10222 | 21 make install DESTDIR=$DESTDIR |
pascal@1919 | 22 } |
pascal@1919 | 23 |
pascal@1919 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1919 | 25 genpkg_rules() |
pascal@1919 | 26 { |
pascal@1919 | 27 mkdir -p $fs/usr |
pascal@1919 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1919 | 29 } |
pascal@1919 | 30 |