wok annotate perl-digest-md5/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
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 }