wok-6.x annotate perl-datetime-format-strptime/receipt @ rev 20816
Up busybox (1.30.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 16:16:24 2019 +0100 (2019-02-18) |
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 |