wok annotate perl-digest-md5/receipt @ rev 24877
updated makeself (2.4.0 -> 2.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 13:51:42 2022 +0100 (2022-03-31) |
parents | 15650f5d595b |
children | 4494a10c0027 |
rev | line source |
---|---|
erjo@11833 | 1 # SliTaz package receipt. |
erjo@11833 | 2 |
erjo@11833 | 3 PACKAGE="perl-digest-md5" |
Hans-G?nter@24201 | 4 VERSION="2.58" |
erjo@11833 | 5 CATEGORY="development" |
Hans-G?nter@23319 | 6 SHORT_DESC="Perl extension Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm." |
slaxemulator@11838 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24201 | 9 WEB_SITE="https://metacpan.org/pod/Digest::MD5" |
Hans-G?nter@24201 | 10 REPOLOGY="perl:digest-md5" |
Hans-G?nter@23319 | 11 |
slaxemulator@11838 | 12 SOURCE="Digest-MD5" |
slaxemulator@11838 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23319 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Digest/$TARBALL" |
slaxemulator@11838 | 15 |
erjo@11833 | 16 DEPENDS="perl" |
erjo@11833 | 17 BUILD_DEPENDS="perl" |
erjo@11833 | 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 |
erjo@11833 | 25 # Rules to configure and make the package. |
erjo@11833 | 26 compile_rules() |
erjo@11833 | 27 { |
erjo@11833 | 28 perl Makefile.PL && |
erjo@11833 | 29 make && |
Hans-G?nter@24201 | 30 make install DESTDIR=$DESTDIR |
erjo@11833 | 31 } |
erjo@11833 | 32 |
erjo@11833 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11833 | 34 genpkg_rules() |
erjo@11833 | 35 { |
Hans-G?nter@24201 | 36 cook_copy_folders lib |
erjo@11833 | 37 } |