wok-current annotate perl-digest-sha1/receipt @ rev 18144
Up: slitaz-base-files (275)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 18 02:57:32 2015 +0300 (2015-06-18) |
parents | b7c8c2e910cb |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@1919 | 9 DEPENDS="perl" |
pascal@1919 | 10 BUILD_DEPENDS="perl" |
pascal@1919 | 11 SOURCE="Digest-SHA1" |
pascal@1919 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1919 | 13 WEB_SITE="http://cpan.org/" |
pascal@1919 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1919 | 15 |
pascal@1919 | 16 # Rules to configure and make the package. |
pascal@1919 | 17 compile_rules() |
pascal@1919 | 18 { |
pascal@1919 | 19 cd $src |
pascal@1919 | 20 perl Makefile.PL && |
pascal@1919 | 21 make && |
slaxemulator@10222 | 22 make install DESTDIR=$DESTDIR |
pascal@1919 | 23 } |
pascal@1919 | 24 |
pascal@1919 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1919 | 26 genpkg_rules() |
pascal@1919 | 27 { |
pascal@1919 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1919 | 30 } |
pascal@1919 | 31 |