wok annotate perl-digest-hmac/receipt @ rev 25242
updated python-sqlalchemy (1.3.15 -> 1.4.29)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 06:40:01 2022 +0100 (2022-07-14) |
parents | 15650f5d595b |
children | 4494a10c0027 |
rev | line source |
---|---|
pascal@1665 | 1 # SliTaz package receipt. |
pascal@1665 | 2 |
pascal@1665 | 3 PACKAGE="perl-digest-hmac" |
Hans-G?nter@24200 | 4 VERSION="1.04" |
pascal@1665 | 5 CATEGORY="development" |
Hans-G?nter@23318 | 6 SHORT_DESC="Perl extension Digest::HMAC." |
pascal@1665 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24200 | 9 WEB_SITE="https://metacpan.org/pod/Digest::HMAC" |
Hans-G?nter@24200 | 10 REPOLOGY="perl:digest-hmac" |
Hans-G?nter@23318 | 11 |
Hans-G?nter@23318 | 12 SOURCE="Digest-HMAC" |
Hans-G?nter@23318 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23318 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Digest/$TARBALL" |
Hans-G?nter@23318 | 15 |
pascal@1665 | 16 DEPENDS="perl" |
pascal@1665 | 17 BUILD_DEPENDS="perl" |
pascal@1665 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@1665 | 25 # Rules to configure and make the package. |
pascal@1665 | 26 compile_rules() |
pascal@1665 | 27 { |
pascal@1665 | 28 perl Makefile.PL && |
pascal@1665 | 29 make && |
Hans-G?nter@24200 | 30 make install DESTDIR=$DESTDIR |
pascal@1665 | 31 } |
pascal@1665 | 32 |
pascal@1665 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1665 | 34 genpkg_rules() |
pascal@1665 | 35 { |
Hans-G?nter@24200 | 36 cook_copy_folders lib |
pascal@1665 | 37 } |