wok annotate perl-file-tail/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 20661c276bcf
children e717a4953b0e
rev   line source
pascal@7116 1 # SliTaz package receipt.
pascal@7116 2
pascal@7116 3 PACKAGE="perl-file-tail"
nneul@18448 4 VERSION="1.3"
pascal@7116 5 CATEGORY="development"
pascal@7116 6 SHORT_DESC="File::Tail module is a Perl extension."
pascal@7116 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@7116 9 DEPENDS="perl"
pascal@7116 10 BUILD_DEPENDS="perl"
pascal@7116 11 SOURCE="File-Tail"
pascal@7116 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24103 13 WEB_SITE="https://metacpan.org/dist/File-Tail"
pascal@20682 14 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MG/MGRABNAR/$TARBALL"
pascal@7116 15
pascal@24103 16 current_version()
pascal@24103 17 {
pascal@24103 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 20 }
pascal@24103 21
pascal@7116 22 # Rules to configure and make the package.
pascal@7116 23 compile_rules()
pascal@7116 24 {
pascal@7116 25 cd $src
pascal@7116 26 perl Makefile.PL &&
pascal@7116 27 make &&
pascal@14702 28 make DESTDIR=$DESTDIR install
pascal@7116 29 }
pascal@7116 30
pascal@7116 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7116 32 genpkg_rules()
pascal@7116 33 {
pascal@7116 34 mkdir -p $fs/usr
pascal@14702 35 cp -a $install/usr/lib $fs/usr
pascal@7116 36 }
pascal@7116 37