wok annotate perl-exporter-tiny/receipt @ rev 25639
Add miss pixmaps for xarchiver, thanks kubepc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Jan 06 09:40:30 2024 +0100 (8 months ago) |
parents | 4998a2f5cae5 |
children | b27d8c263cba |
rev | line source |
---|---|
nneul@18451 | 1 # SliTaz package receipt. |
nneul@18451 | 2 |
nneul@18451 | 3 PACKAGE="perl-exporter-tiny" |
Hans-G?nter@24203 | 4 VERSION="1.002002" |
nneul@18451 | 5 CATEGORY="development" |
Hans-G?nter@23323 | 6 SHORT_DESC="Perl extension Exporter::Tiny." |
nneul@18451 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18451 | 8 LICENSE="GPL" |
Hans-G?nter@24203 | 9 WEB_SITE="https://metacpan.org/pod/Exporter::Tiny" |
Hans-G?nter@24203 | 10 REPOLOGY="perl:exporter-tiny" |
Hans-G?nter@23323 | 11 |
nneul@18451 | 12 SOURCE="Exporter-Tiny" |
nneul@18451 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@25471 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/$TARBALL" |
nneul@18451 | 15 |
nneul@18451 | 16 DEPENDS="perl" |
nneul@18451 | 17 BUILD_DEPENDS="$DEPENDS" |
nneul@18451 | 18 |
pascal@25471 | 19 # What is the latest version available today? |
pascal@24102 | 20 current_version() |
pascal@24102 | 21 { |
pascal@24102 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 24 } |
pascal@24102 | 25 |
nneul@18451 | 26 # Rules to configure and make the package. |
nneul@18451 | 27 compile_rules() |
nneul@18451 | 28 { |
nneul@18451 | 29 perl Makefile.PL && |
nneul@18451 | 30 make && |
Hans-G?nter@24203 | 31 make install DESTDIR=$DESTDIR |
nneul@18451 | 32 } |
nneul@18451 | 33 |
nneul@18451 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18451 | 35 genpkg_rules() |
nneul@18451 | 36 { |
Hans-G?nter@24203 | 37 cook_copy_folders lib |
nneul@18451 | 38 } |