wok annotate perl-proc-processtable/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents 6cdd42a26dab
children 9649fc1e2a4d
rev   line source
pascal@1607 1 # SliTaz package receipt.
pascal@1607 2
pascal@1607 3 PACKAGE="perl-proc-processtable"
Hans-G?nter@23388 4 VERSION="0.59"
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@23388 9 WEB_SITE="https://metacpan.org/release/Proc-ProcessTable"
Hans-G?nter@23388 10
Hans-G?nter@23388 11 SOURCE="Proc-ProcessTable"
Hans-G?nter@23388 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23388 13 WGET_URL="https://www.cpan.org/modules/by-module/Proc/$TARBALL"
Hans-G?nter@23388 14
pascal@1607 15 DEPENDS="perl"
pascal@1607 16 BUILD_DEPENDS="perl"
pascal@1607 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
pascal@1607 24 # Rules to configure and make the package.
pascal@1607 25 compile_rules()
pascal@1607 26 {
Hans-G?nter@23388 27 perl Makefile.PL &&
Hans-G?nter@23388 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@1607 30 }
pascal@1607 31
pascal@1607 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1607 33 genpkg_rules()
pascal@1607 34 {
pascal@1607 35 mkdir -p $fs/usr
Hans-G?nter@23388 36 cp -a $install/usr/lib $fs/usr
pascal@1607 37 }