wok annotate perl-date-calc/receipt @ rev 17893
Up tazinst-gui (49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 17:24:44 2015 +0200 (2015-04-02) |
parents | ecc57e5c276b |
children | 6e8b1bcb30e2 |
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" |
slaxemulator@10173 | 13 WEB_SITE="http://search.cpan.org/dist/Date-Calc/" |
slaxemulator@10173 | 14 WGET_URL="http://search.cpan.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 |