wok-6.x annotate perl-number-range/receipt @ rev 23383
updated perl-number-range (0.10 -> 0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 14:57:35 2020 +0100 (2020-03-31) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@13352 | 1 # SliTaz package receipt. |
pascal@13352 | 2 |
pascal@13352 | 3 PACKAGE="perl-number-range" |
Hans-G?nter@23383 | 4 VERSION="0.12" |
pascal@13352 | 5 CATEGORY="development" |
Hans-G?nter@23383 | 6 SHORT_DESC="Perl extension Number::Range." |
pascal@13352 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23383 | 9 WEB_SITE="https://metacpan.org/release/Number-Range" |
Hans-G?nter@23383 | 10 |
Hans-G?nter@23383 | 11 SOURCE="Number-Range" |
Hans-G?nter@23383 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23383 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Number/$TARBALL" |
Hans-G?nter@23383 | 14 |
pascal@13352 | 15 DEPENDS="perl" |
pascal@13352 | 16 BUILD_DEPENDS="perl" |
pascal@13352 | 17 |
pascal@13352 | 18 # Rules to configure and make the package. |
pascal@13352 | 19 compile_rules() |
pascal@13352 | 20 { |
pascal@13352 | 21 perl Makefile.PL && |
pascal@13352 | 22 make && |
pascal@13352 | 23 make install DESTDIR=$DESTDIR |
pascal@13352 | 24 } |
pascal@13352 | 25 |
pascal@13352 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13352 | 27 genpkg_rules() |
pascal@13352 | 28 { |
pascal@13352 | 29 mkdir -p $fs/usr |
Hans-G?nter@23383 | 30 cp -a $install/usr/lib $fs/usr |
pascal@13352 | 31 } |