wok-current annotate perl-md4/receipt @ rev 24215
updated perl-glib (1.3292 -> 1.3293)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:25:16 2021 +0100 (2021-12-31) |
parents | 20661c276bcf |
children | e717a4953b0e |
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@20682 | 12 WGET_URL="https://metacpan.org/CPAN/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 } |