wok-6.x annotate perl-datetime-format-strptime/receipt @ rev 23727
updated vnstat (2.4 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 30 17:49:28 2020 +0100 (2020-04-30) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-datetime-format-strptime" |
Hans-G?nter@23311 | 4 VERSION="1.77" |
nneul@18450 | 5 CATEGORY="development" |
Hans-G?nter@23311 | 6 SHORT_DESC="Perl extension DateTime::Format::Strptime." |
nneul@18450 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
nneul@18450 | 8 LICENSE="GPL2" |
Hans-G?nter@23311 | 9 WEB_SITE="https://metacpan.org/release/DateTime-Format-Strptime" |
Hans-G?nter@23311 | 10 |
nneul@18450 | 11 SOURCE="DateTime-Format-Strptime" |
nneul@18450 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23311 | 13 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" |
Hans-G?nter@23311 | 14 |
nneul@18450 | 15 |
nneul@18450 | 16 DEPENDS="perl" |
nneul@18454 | 17 BUILD_DEPENDS="perl-datetime perl-params-validate perl-test-simple" |
nneul@18450 | 18 |
nneul@18450 | 19 # Rules to configure and make the package. |
nneul@18450 | 20 compile_rules() |
nneul@18450 | 21 { |
nneul@18450 | 22 perl Makefile.PL && |
nneul@18450 | 23 make && |
nneul@18450 | 24 make DESTDIR=$DESTDIR install |
nneul@18450 | 25 } |
nneul@18450 | 26 |
nneul@18450 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 28 genpkg_rules() |
nneul@18450 | 29 { |
nneul@18450 | 30 mkdir -p $fs/usr |
Hans-G?nter@23311 | 31 cp -a $install/usr/lib $fs/usr |
nneul@18450 | 32 } |