wok-current annotate perl-crypt-des/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (2 days ago) |
parents | a1feea02a3bb |
children |
rev | line source |
---|---|
pascal@3245 | 1 # SliTaz package receipt. |
pascal@3245 | 2 |
pascal@3245 | 3 PACKAGE="perl-crypt-des" |
Hans-G?nter@23305 | 4 VERSION="2.07" |
pascal@3245 | 5 CATEGORY="development" |
Hans-G?nter@23305 | 6 SHORT_DESC="Perl extension Crypt::DES." |
pascal@3245 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23305 | 9 WEB_SITE="https://metacpan.org/release/Crypt-DES" |
Hans-G?nter@23305 | 10 |
Hans-G?nter@23305 | 11 SOURCE="Crypt-DES" |
Hans-G?nter@23305 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23305 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Crypt/$TARBALL" |
Hans-G?nter@23305 | 14 |
pascal@3245 | 15 DEPENDS="perl" |
pascal@3245 | 16 BUILD_DEPENDS="perl" |
pascal@3245 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@3245 | 24 # Rules to configure and make the package. |
pascal@3245 | 25 compile_rules() |
pascal@3245 | 26 { |
Hans-G?nter@23305 | 27 perl Makefile.PL && |
Hans-G?nter@23305 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@3245 | 30 } |
pascal@3245 | 31 |
pascal@3245 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3245 | 33 genpkg_rules() |
pascal@3245 | 34 { |
pascal@3245 | 35 mkdir -p $fs/usr |
Hans-G?nter@23305 | 36 cp -a $install/usr/lib $fs/usr |
pascal@3245 | 37 } |