wok annotate perl-file-sharedir-install/receipt @ rev 25336

updated suricata (5.0.2 -> 6.0.6)
author Hans-G?nter Theisgen
date Sat Jul 23 17:54:01 2022 +0100 (2022-07-23)
parents b093349fa789
children b27d8c263cba
rev   line source
Hans-G?nter@24178 1 # SliTaz package receipt.
Hans-G?nter@24178 2
Hans-G?nter@24178 3 PACKAGE="perl-file-sharedir-install"
Hans-G?nter@24178 4 VERSION="0.13"
Hans-G?nter@24178 5 CATEGORY="development"
Hans-G?nter@24178 6 SHORT_DESC="Perl extension to install shared files."
Hans-G?nter@24178 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24178 8 LICENSE="GPL"
Hans-G?nter@24178 9 WEB_SITE="https://metacpan.org/pod/File::ShareDir::Install"
Hans-G?nter@24178 10 REPOLOGY="perl:file-sharedir-install"
Hans-G?nter@24178 11
Hans-G?nter@24178 12 SOURCE="File-ShareDir-Install"
Hans-G?nter@24178 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24178 14 WGET_URL="https://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL"
Hans-G?nter@24178 15
Hans-G?nter@24178 16 DEPENDS="perl"
Hans-G?nter@24178 17 BUILD_DEPENDS="perl"
Hans-G?nter@24178 18
pascal@24180 19 current_version()
pascal@24180 20 {
pascal@24180 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24180 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24180 23 }
pascal@24180 24
Hans-G?nter@24178 25 # Rules to configure and make the package.
Hans-G?nter@24178 26 compile_rules()
Hans-G?nter@24178 27 {
Hans-G?nter@24178 28 perl Makefile.PL &&
Hans-G?nter@24178 29 make &&
Hans-G?nter@24178 30 make install DESTDIR=$DESTDIR
Hans-G?nter@24178 31 }
Hans-G?nter@24178 32
Hans-G?nter@24178 33 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24178 34 genpkg_rules()
Hans-G?nter@24178 35 {
Hans-G?nter@24178 36 cook_copy_folders lib
Hans-G?nter@24178 37 }