wok-6.x annotate perl-datetime-format-strptime/receipt @ rev 21586
updated nspr and nspr-dev (4.10.8 -> 4.21)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 20 13:58:55 2019 +0100 (2019-05-20) |
parents | 2dbc3b12b9ce |
children | 74e74aefd5c2 |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-datetime-format-strptime" |
nneul@18450 | 4 VERSION="1.56" |
nneul@18450 | 5 CATEGORY="development" |
nneul@18450 | 6 SHORT_DESC="DateTime::Format::Strptime module is a Perl extension." |
nneul@18450 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
nneul@18450 | 8 LICENSE="GPL2" |
nneul@18450 | 9 SOURCE="DateTime-Format-Strptime" |
nneul@18450 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18450 | 11 WEB_SITE="http://cpan.org/" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
nneul@18450 | 13 |
nneul@18450 | 14 DEPENDS="perl" |
nneul@18454 | 15 BUILD_DEPENDS="perl-datetime perl-params-validate perl-test-simple" |
nneul@18450 | 16 |
nneul@18450 | 17 # Rules to configure and make the package. |
nneul@18450 | 18 compile_rules() |
nneul@18450 | 19 { |
nneul@18450 | 20 cd $src |
nneul@18450 | 21 perl Makefile.PL && |
nneul@18450 | 22 make && |
nneul@18450 | 23 make DESTDIR=$DESTDIR install |
nneul@18450 | 24 } |
nneul@18450 | 25 |
nneul@18450 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 27 genpkg_rules() |
nneul@18450 | 28 { |
nneul@18450 | 29 mkdir -p $fs/usr |
nneul@18450 | 30 cp -a $install/usr/lib $fs/usr |
nneul@18450 | 31 } |
nneul@18450 | 32 |