wok-6.x annotate perl-common-sense/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (19 months ago) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@17380 | 1 # SliTaz package receipt. |
pascal@17380 | 2 |
pascal@17380 | 3 PACKAGE="perl-common-sense" |
Hans-G?nter@24185 | 4 VERSION="3.75" |
pascal@17380 | 5 CATEGORY="development" |
Hans-G?nter@23298 | 6 SHORT_DESC="Perl extension common::sense." |
pascal@17380 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL" |
Hans-G?nter@24185 | 9 WEB_SITE="https://metacpan.org/pod/common::sense" |
Hans-G?nter@24185 | 10 REPOLOGY="perl:common-sense" |
Hans-G?nter@23298 | 11 |
pascal@17380 | 12 SOURCE="common-sense" |
pascal@17380 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24185 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/$TARBALL" |
pascal@17380 | 15 |
pascal@17380 | 16 DEPENDS="perl" |
pascal@17380 | 17 BUILD_DEPENDS="perl" |
pascal@17380 | 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 |
pascal@17380 | 25 # Rules to configure and make the package. |
pascal@17380 | 26 compile_rules() |
pascal@17380 | 27 { |
Hans-G?nter@24185 | 28 perl Makefile.PL && |
Hans-G?nter@24185 | 29 make && |
Hans-G?nter@24185 | 30 make install DESTDIR=$DESTDIR |
pascal@17380 | 31 } |
pascal@17380 | 32 |
pascal@17380 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17380 | 34 genpkg_rules() |
pascal@17380 | 35 { |
Hans-G?nter@24185 | 36 cook_copy_folders lib |
pascal@17380 | 37 } |