wok annotate perl-appconfig/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents 6e8b1bcb30e2
children 0af8df0b46fc
rev   line source
nneul@17851 1 # SliTaz package receipt.
nneul@17851 2
nneul@17851 3 PACKAGE="perl-appconfig"
nneul@17851 4 VERSION="1.71"
nneul@17851 5 CATEGORY="development"
nneul@17851 6 SHORT_DESC="Perl/CPAN Module AppConfig"
nneul@17851 7 MAINTAINER="nneul@neulinger.org"
nneul@17851 8 LICENSE="Artistic"
nneul@17851 9 DEPENDS="perl"
nneul@17851 10 BUILD_DEPENDS="perl"
nneul@17851 11 SOURCE="AppConfig"
nneul@17851 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20671 13 WEB_SITE="https://metacpan.org/release/AppConfig/"
nneul@17851 14 WGET_URL="http://www.cpan.org/authors/id/N/NE/NEILB/$TARBALL"
nneul@17851 15
pascal@24102 16 current_version()
pascal@24102 17 {
pascal@24102 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 20 }
pascal@24102 21
nneul@17851 22 # Rules to configure and make the package.
nneul@17851 23 compile_rules()
nneul@17851 24 {
nneul@17851 25 cd $src
nneul@17851 26 perl Makefile.PL &&
nneul@17851 27 make &&
nneul@17851 28 make DESTDIR=$DESTDIR install
nneul@17851 29 }
nneul@17851 30
nneul@17851 31 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@17851 32 genpkg_rules()
nneul@17851 33 {
nneul@17851 34 mkdir -p $fs/usr
nneul@17851 35 cp -a $install/usr/lib $fs/usr
nneul@17851 36 # remove perllocal.pod and .packlist
nneul@17851 37 find ${fs} -name perllocal.pod -delete
nneul@17851 38 find ${fs} -name .packlist -delete
nneul@17851 39
nneul@17851 40
nneul@17851 41 }
nneul@17851 42