wok annotate perl-parse-recdescent/receipt @ rev 24246

updated perl-net-pcap again (0.18 -> 0.20)
author Hans-G?nter Theisgen
date Sun Jan 02 09:27:07 2022 +0100 (2022-01-02)
parents 777e726a4d5c
children 0af8df0b46fc
rev   line source
pascal@5971 1 # SliTaz package receipt.
pascal@5971 2
pascal@5971 3 PACKAGE="perl-parse-recdescent"
Hans-G?nter@23386 4 VERSION="1.967015"
pascal@5971 5 CATEGORY="development"
Hans-G?nter@23386 6 SHORT_DESC="Perl extension Parse::RecDescent."
pascal@5971 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23386 9 WEB_SITE="https://metacpan.org/release/Parse-RecDescent"
Hans-G?nter@23386 10
pascal@5971 11 SOURCE="Parse-RecDescent"
pascal@5971 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23386 13 WGET_URL="https://www.cpan.org/modules/by-module/Parse/$TARBALL"
Hans-G?nter@23386 14
Hans-G?nter@23386 15 DEPENDS="perl"
Hans-G?nter@23386 16 BUILD_DEPENDS="perl perl-extutils-makemaker"
pascal@5971 17
pascal@24103 18 current_version()
pascal@24103 19 {
pascal@24103 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 22 }
pascal@24103 23
pascal@5971 24 # Rules to configure and make the package.
pascal@5971 25 compile_rules()
pascal@5971 26 {
pascal@5971 27 perl Makefile.PL &&
pascal@5971 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@5971 30 }
pascal@5971 31
pascal@5971 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5971 33 genpkg_rules()
pascal@5971 34 {
pascal@5971 35 mkdir -p $fs/usr
Hans-G?nter@23386 36 cp -a $install/usr/lib $fs/usr
pascal@5971 37 }