wok-current view perl-date-calc/receipt @ rev 24004
Up tazinst (110)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 17 17:23:12 2021 +0000 (2021-01-17) |
parents | 20661c276bcf |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-date-calc"
4 VERSION="6.4"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Date::Calc for Gregorian calendar date calculations."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Date-Calc/"
11 SOURCE="Date-Calc"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Date/$TARBALL"
15 DEPENDS="perl perl-bit-vector"
16 BUILD_DEPENDS="$DEPENDS"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make install DESTDIR=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }