wok annotate perl-proc-processtable/receipt @ rev 25378
updated ufw (0.36 -> 0.36.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 15:14:33 2022 +0100 (2022-07-30) |
parents | 15650f5d595b |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@1607 | 1 # SliTaz package receipt. |
pascal@1607 | 2 |
pascal@1607 | 3 PACKAGE="perl-proc-processtable" |
Hans-G?nter@24250 | 4 VERSION="0.634" |
pascal@1607 | 5 CATEGORY="development" |
Hans-G?nter@23388 | 6 SHORT_DESC="Perl extension Proc::ProcessTable." |
pascal@1607 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24250 | 9 WEB_SITE="https://metacpan.org/pod/Proc::ProcessTable" |
Hans-G?nter@24250 | 10 REPOLOGY="perl:proc-processtable" |
Hans-G?nter@23388 | 11 |
Hans-G?nter@23388 | 12 SOURCE="Proc-ProcessTable" |
Hans-G?nter@23388 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23388 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Proc/$TARBALL" |
Hans-G?nter@23388 | 15 |
pascal@1607 | 16 DEPENDS="perl" |
pascal@1607 | 17 BUILD_DEPENDS="perl" |
pascal@1607 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@1607 | 25 # Rules to configure and make the package. |
pascal@1607 | 26 compile_rules() |
pascal@1607 | 27 { |
Hans-G?nter@23388 | 28 perl Makefile.PL && |
Hans-G?nter@23388 | 29 make && |
Hans-G?nter@24250 | 30 make install DESTDIR=$DESTDIR |
pascal@1607 | 31 } |
pascal@1607 | 32 |
pascal@1607 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1607 | 34 genpkg_rules() |
pascal@1607 | 35 { |
Hans-G?nter@24250 | 36 cook_copy_folders lib |
pascal@1607 | 37 } |