wok annotate perl-universal-require/receipt @ rev 24890

trafshow: libpcap 1.10 has its own pcap_init
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 05 09:06:43 2022 +0000 (2022-04-05)
parents ca4a422cce07
children b27d8c263cba
rev   line source
pascal@20467 1 # SliTaz package receipt.
pascal@20467 2
pascal@20467 3 PACKAGE="perl-universal-require"
Hans-G?nter@24267 4 VERSION="0.19"
pascal@20467 5 CATEGORY="development"
pascal@20467 6 SHORT_DESC="UNIVERSAL::require module is a Perl extension"
Hans-G?nter@24267 7 MAINTAINER="maintainer@slitaz.org"
pascal@20467 8 LICENSE="GPL"
Hans-G?nter@24267 9 WEB_SITE="https://metacpan.org/pod/UNIVERSAL::require"
Hans-G?nter@24267 10 REPOLOGY="perl:universal-require"
Hans-G?nter@24267 11
Hans-G?nter@24267 12 SOURCE="UNIVERSAL-require"
Hans-G?nter@24267 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24267 14 WGET_URL="https://www.cpan.org/modules/by-module/UNIVERSAL/$TARBALL"
Hans-G?nter@24267 15
pascal@20467 16 DEPENDS="perl"
pascal@20467 17 BUILD_DEPENDS="perl"
pascal@20467 18
pascal@24103 19 current_version()
pascal@24103 20 {
pascal@24103 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 23 }
pascal@24103 24
pascal@20467 25 # Rules to configure and make the package.
pascal@20467 26 compile_rules()
pascal@20467 27 {
pascal@20467 28 perl Makefile.PL &&
pascal@20467 29 make &&
Hans-G?nter@24267 30 make install DESTDIR=$DESTDIR
pascal@20467 31 }
pascal@20467 32
pascal@20467 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20467 34 genpkg_rules()
pascal@20467 35 {
Hans-G?nter@24267 36 cook_copy_folders lib
pascal@20467 37 }