wok-current annotate perl-io-stty/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | de314cb7fe1e |
children |
rev | line source |
---|---|
pascal@13352 | 1 # SliTaz package receipt. |
pascal@13352 | 2 |
pascal@13352 | 3 PACKAGE="perl-io-stty" |
Hans-G?nter@23354 | 4 VERSION="0.04" |
pascal@13352 | 5 CATEGORY="development" |
Hans-G?nter@23354 | 6 SHORT_DESC="Perl extension IO::Stty." |
pascal@13352 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23354 | 9 WEB_SITE="https://metacpan.org/release/IO-Stty" |
Hans-G?nter@23354 | 10 |
Hans-G?nter@23354 | 11 SOURCE="IO-Stty" |
Hans-G?nter@23354 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23354 | 13 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL" |
Hans-G?nter@23354 | 14 |
pascal@13352 | 15 DEPENDS="perl" |
pascal@13352 | 16 BUILD_DEPENDS="perl" |
pascal@13352 | 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@13352 | 24 # Rules to configure and make the package. |
pascal@13352 | 25 compile_rules() |
pascal@13352 | 26 { |
Hans-G?nter@23354 | 27 perl Makefile.PL && |
Hans-G?nter@23354 | 28 make && |
Hans-G?nter@23354 | 29 make DESTDIR=$DESTDIR install |
pascal@13352 | 30 } |
pascal@13352 | 31 |
pascal@13352 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13352 | 33 genpkg_rules() |
pascal@13352 | 34 { |
Hans-G?nter@23354 | 35 cp -a $install/usr $fs |
pascal@13352 | 36 } |