wok-current annotate perl-date-calc/receipt @ rev 20671
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 11:33:03 2019 +0100 (2019-01-24) |
parents | 2d12ebd38be4 |
children | 20661c276bcf |
rev | line source |
---|---|
slaxemulator@10173 | 1 # SliTaz package receipt. |
slaxemulator@10173 | 2 |
slaxemulator@10173 | 3 PACKAGE="perl-date-calc" |
slaxemulator@10173 | 4 VERSION="6.3" |
slaxemulator@10173 | 5 CATEGORY="development" |
slaxemulator@10173 | 6 SHORT_DESC="Perl module for Gregorian calendar date calculations" |
slaxemulator@10173 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@10173 | 9 DEPENDS="perl perl-bit-vector" |
slaxemulator@10173 | 10 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@10173 | 11 SOURCE="Date-Calc" |
slaxemulator@10173 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/Date-Calc/" |
pascal@20671 | 14 WEB_SITE="https://metacpan.org/release/$ORIGIN" |
slaxemulator@10173 | 15 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$TARBALL" |
slaxemulator@10173 | 16 |
slaxemulator@10173 | 17 # Rules to configure and make the package. |
slaxemulator@10173 | 18 compile_rules() |
slaxemulator@10173 | 19 { |
slaxemulator@10173 | 20 cd $src |
slaxemulator@10173 | 21 perl Makefile.PL && |
slaxemulator@10173 | 22 make && |
slaxemulator@10173 | 23 make install DESTDIR=$DESTDIR |
slaxemulator@10173 | 24 } |
slaxemulator@10173 | 25 |
slaxemulator@10173 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10173 | 27 genpkg_rules() |
slaxemulator@10173 | 28 { |
slaxemulator@10173 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@10173 | 31 } |
slaxemulator@10173 | 32 |