wok-6.x annotate perl-config-tiny/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 15650f5d595b
children
rev   line source
pascal@18321 1 # SliTaz package receipt.
pascal@18321 2
pascal@18321 3 PACKAGE="perl-config-tiny"
Hans-G?nter@24188 4 VERSION="2.27"
pascal@18321 5 CATEGORY="development"
Hans-G?nter@23303 6 SHORT_DESC="Perl extension Config::Tiny."
pascal@18321 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18334 8 LICENSE="GPL2"
Hans-G?nter@24188 9 WEB_SITE="https://metacpan.org/pod/Config::Tiny"
Hans-G?nter@24188 10 REPOLOGY="perl:config-tiny"
Hans-G?nter@23303 11
pascal@18321 12 SOURCE="Config-Tiny"
pascal@18321 13 TARBALL="$SOURCE-$VERSION.tgz"
Hans-G?nter@23303 14 WGET_URL="https://www.cpan.org/modules/by-module/Config/$TARBALL"
pascal@18321 15
pascal@18334 16 DEPENDS="perl"
pascal@18334 17 BUILD_DEPENDS="perl"
pascal@18334 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@18321 25 # Rules to configure and make the package.
pascal@18321 26 compile_rules()
pascal@18321 27 {
pascal@18321 28 perl Makefile.PL &&
pascal@18321 29 make &&
pascal@18321 30 make install DESTDIR=$DESTDIR
pascal@18321 31 }
pascal@18321 32
pascal@18321 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18321 34 genpkg_rules()
pascal@18321 35 {
Hans-G?nter@24188 36 cook_copy_folders lib
pascal@18321 37 }