wok annotate perl-number-compare/receipt @ rev 20682
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 17:42:10 2019 +0100 (2019-01-27) |
parents | 6e8b1bcb30e2 |
children | 5e2935aa44a8 |
rev | line source |
---|---|
slaxemulator@10174 | 1 # SliTaz package receipt. |
slaxemulator@10174 | 2 |
slaxemulator@10174 | 3 PACKAGE="perl-number-compare" |
slaxemulator@10174 | 4 VERSION="0.01" |
slaxemulator@10174 | 5 CATEGORY="development" |
slaxemulator@10174 | 6 SHORT_DESC="Perl/CPAN Module Number::Compare" |
slaxemulator@10174 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@10174 | 9 DEPENDS="perl" |
slaxemulator@10174 | 10 BUILD_DEPENDS="perl" |
slaxemulator@10174 | 11 SOURCE="Number-Compare" |
slaxemulator@10174 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/Number-Compare/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10174 | 15 |
slaxemulator@10174 | 16 # Rules to configure and make the package. |
slaxemulator@10174 | 17 compile_rules() |
slaxemulator@10174 | 18 { |
slaxemulator@10174 | 19 cd $src |
slaxemulator@10174 | 20 perl Makefile.PL && |
slaxemulator@10174 | 21 make && |
slaxemulator@10174 | 22 make install DESTDIR=$DESTDIR |
slaxemulator@10174 | 23 } |
slaxemulator@10174 | 24 |
slaxemulator@10174 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10174 | 26 genpkg_rules() |
slaxemulator@10174 | 27 { |
slaxemulator@10174 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@10174 | 30 } |