wok-6.x annotate perl-date-calc/receipt @ rev 23806
linld: add isoboot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 24 16:16:52 2020 +0000 (2020-05-24) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
slaxemulator@10173 | 1 # SliTaz package receipt. |
slaxemulator@10173 | 2 |
slaxemulator@10173 | 3 PACKAGE="perl-date-calc" |
Hans-G?nter@23307 | 4 VERSION="6.4" |
slaxemulator@10173 | 5 CATEGORY="development" |
Hans-G?nter@23307 | 6 SHORT_DESC="Perl extension Date::Calc for Gregorian calendar date calculations." |
slaxemulator@10173 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23307 | 9 WEB_SITE="https://metacpan.org/release/Date-Calc/" |
Hans-G?nter@23307 | 10 |
Hans-G?nter@23307 | 11 SOURCE="Date-Calc" |
Hans-G?nter@23307 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23307 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Date/$TARBALL" |
Hans-G?nter@23307 | 14 |
slaxemulator@10173 | 15 DEPENDS="perl perl-bit-vector" |
slaxemulator@10173 | 16 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@10173 | 17 |
slaxemulator@10173 | 18 # Rules to configure and make the package. |
slaxemulator@10173 | 19 compile_rules() |
slaxemulator@10173 | 20 { |
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 |
Hans-G?nter@23307 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@10173 | 31 } |