wok-6.x annotate perl-date-calc/receipt @ rev 20939
freeglut: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 02 17:40:45 2019 +0100 (2019-03-02) |
parents | 6e8b1bcb30e2 |
children | 79c552882a84 |
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@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/S/ST/STBEY/$TARBALL" |
slaxemulator@10173 | 15 |
slaxemulator@10173 | 16 # Rules to configure and make the package. |
slaxemulator@10173 | 17 compile_rules() |
slaxemulator@10173 | 18 { |
slaxemulator@10173 | 19 cd $src |
slaxemulator@10173 | 20 perl Makefile.PL && |
slaxemulator@10173 | 21 make && |
slaxemulator@10173 | 22 make install DESTDIR=$DESTDIR |
slaxemulator@10173 | 23 } |
slaxemulator@10173 | 24 |
slaxemulator@10173 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10173 | 26 genpkg_rules() |
slaxemulator@10173 | 27 { |
slaxemulator@10173 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@10173 | 30 } |
slaxemulator@10173 | 31 |