wok annotate perl-digest-md5/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (19 months ago) |
parents | 7a6e7ca4947b |
children | 0ce13f3a8b96 |
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" |
pascal@25555 | 9 WEB_SITE="https://metacpan.org/dist/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 } |