wok-6.x annotate perl-ipc-system-simple/receipt @ rev 24233
updated perl-list-moreutils (0.428 -> 0.430)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:57:36 2022 +0100 (2022-01-02) |
parents | 39fe2d0cb7fb |
children |
rev | line source |
---|---|
Hans-G?nter@24179 | 1 # SliTaz package receipt. |
Hans-G?nter@24179 | 2 |
Hans-G?nter@24179 | 3 PACKAGE="perl-ipc-system-simple" |
Hans-G?nter@24179 | 4 VERSION="1.30" |
Hans-G?nter@24179 | 5 CATEGORY="development" |
Hans-G?nter@24179 | 6 SHORT_DESC="Perl extension to run commands simply, with detailed diagnostics." |
Hans-G?nter@24179 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24179 | 8 LICENSE="GPL" |
Hans-G?nter@24179 | 9 WEB_SITE="https://metacpan.org/pod/IPC::System::Simple" |
Hans-G?nter@24179 | 10 REPOLOGY="perl:ipc-system-simple" |
Hans-G?nter@24179 | 11 |
Hans-G?nter@24179 | 12 SOURCE="IPC-System-Simple" |
Hans-G?nter@24179 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24179 | 14 WGET_URL="https://www.cpan.org/modules/by-module/IPC/$TARBALL" |
Hans-G?nter@24179 | 15 |
Hans-G?nter@24179 | 16 DEPENDS="perl" |
Hans-G?nter@24179 | 17 BUILD_DEPENDS="perl" |
Hans-G?nter@24179 | 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@24179 | 25 # Rules to configure and make the package. |
Hans-G?nter@24179 | 26 compile_rules() |
Hans-G?nter@24179 | 27 { |
Hans-G?nter@24179 | 28 perl Makefile.PL && |
Hans-G?nter@24179 | 29 make && |
Hans-G?nter@24179 | 30 make install DESTDIR=$DESTDIR |
Hans-G?nter@24179 | 31 } |
Hans-G?nter@24179 | 32 |
Hans-G?nter@24179 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24179 | 34 genpkg_rules() |
Hans-G?nter@24179 | 35 { |
Hans-G?nter@24179 | 36 cook_copy_folders lib |
Hans-G?nter@24179 | 37 } |