wok annotate perl-digest-sha1/receipt @ rev 24474
updated desktop-file-utils and desktop-file-utils-extra (0.24 -> 0.26)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 17:07:56 2022 +0100 (2022-02-17) |
parents | 20661c276bcf |
children | e717a4953b0e |
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@24103 | 13 WEB_SITE="https://metacpan.org/dist/Digest-SHA1" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1919 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@1919 | 22 # Rules to configure and make the package. |
pascal@1919 | 23 compile_rules() |
pascal@1919 | 24 { |
pascal@1919 | 25 cd $src |
pascal@1919 | 26 perl Makefile.PL && |
pascal@1919 | 27 make && |
slaxemulator@10222 | 28 make install DESTDIR=$DESTDIR |
pascal@1919 | 29 } |
pascal@1919 | 30 |
pascal@1919 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1919 | 32 genpkg_rules() |
pascal@1919 | 33 { |
pascal@1919 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
pascal@1919 | 36 } |
pascal@1919 | 37 |