wok-current annotate perl-ipc-run/receipt @ rev 24229
updated perl-ipc-run (20180523.0 -> 20200505.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:42:11 2022 +0100 (2022-01-02) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@14279 | 1 # SliTaz package receipt. |
pascal@14279 | 2 |
pascal@14279 | 3 PACKAGE="perl-ipc-run" |
Hans-G?nter@24229 | 4 VERSION="20200505.0" |
pascal@14279 | 5 CATEGORY="development" |
Hans-G?nter@23356 | 6 SHORT_DESC="Perl extension IPC::Run." |
pascal@14279 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24229 | 9 WEB_SITE="https://metacpan.org/pod/IPC::Run" |
Hans-G?nter@24229 | 10 REPOLOGY="perl:ipc-Run" |
Hans-G?nter@23356 | 11 |
Hans-G?nter@23356 | 12 SOURCE="IPC-Run" |
Hans-G?nter@23356 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24229 | 14 WGET_URL="https://www.cpan.org/modules/by-module/IPC/$TARBALL" |
Hans-G?nter@23356 | 15 |
pascal@14279 | 16 DEPENDS="perl" |
pascal@14279 | 17 BUILD_DEPENDS="perl" |
pascal@14279 | 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@14279 | 25 # Rules to configure and make the package. |
pascal@14279 | 26 compile_rules() |
pascal@14279 | 27 { |
pascal@14279 | 28 perl Makefile.PL && |
pascal@14279 | 29 make && |
Hans-G?nter@24229 | 30 make install DESTDIR=$DESTDIR |
pascal@14279 | 31 } |
pascal@14279 | 32 |
pascal@14279 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14279 | 34 genpkg_rules() |
pascal@14279 | 35 { |
Hans-G?nter@24229 | 36 cook_copy_folders lib |
pascal@14279 | 37 } |