wok annotate perl-md4/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents ca4a422cce07
children
rev   line source
pascal@13964 1 # SliTaz package receipt.
pascal@13964 2
pascal@13964 3 PACKAGE="perl-md4"
pascal@13964 4 VERSION="1.4"
pascal@13964 5 CATEGORY="development"
al@17383 6 SHORT_DESC="Digest::Perl::MD4 is a Perl extension."
pascal@13964 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@24103 9 WEB_SITE="https://metacpan.org/dist/Digest-Perl-MD4"
al@17383 10 SOURCE="Digest-Perl-MD4"
al@17383 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24975 12 WGET_URL="https://cpan.metacpan.org/authors/id/O/OT/OTAKA/$TARBALL"
al@17383 13
pascal@13964 14 DEPENDS="perl"
pascal@13964 15 BUILD_DEPENDS="perl"
pascal@13964 16
pascal@24103 17 current_version()
pascal@24103 18 {
pascal@24103 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 21 }
pascal@24103 22
pascal@13964 23 # Rules to configure and make the package.
pascal@13964 24 compile_rules()
pascal@13964 25 {
pascal@13964 26 perl Makefile.PL &&
pascal@13964 27 make &&
pascal@13964 28 make install DESTDIR=$DESTDIR
pascal@13964 29 }
pascal@13964 30
pascal@13964 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13964 32 genpkg_rules()
pascal@13964 33 {
pascal@13964 34 mkdir -p $fs/usr
pascal@13964 35 cp -a $install/usr/lib $fs/usr
pascal@13964 36 }