wok-6.x annotate perl-datetime-format-w3cdtf/receipt @ rev 23312
updated perl-datetime-format-w3cdtf (0.06 -> 0.07)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 14:52:27 2020 +0100 (2020-03-30) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime-format-w3cdtf" |
Hans-G?nter@23312 | 4 VERSION="0.07" |
pascal@9281 | 5 CATEGORY="development" |
Hans-G?nter@23312 | 6 SHORT_DESC="Perl extension DateTime::Format::W3CDTF." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23312 | 9 WEB_SITE="https://metacpan.org/release/DateTime-Format-W3CDTF" |
Hans-G?nter@23312 | 10 |
Hans-G?nter@23312 | 11 SOURCE="DateTime-Format-W3CDTF" |
Hans-G?nter@23312 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23312 | 13 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" |
Hans-G?nter@23312 | 14 |
pascal@9281 | 15 DEPENDS="perl" |
pascal@9281 | 16 BUILD_DEPENDS="perl" |
pascal@9281 | 17 |
pascal@9281 | 18 # Rules to configure and make the package. |
pascal@9281 | 19 compile_rules() |
pascal@9281 | 20 { |
pascal@9281 | 21 perl Makefile.PL && |
pascal@9281 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@9281 | 24 } |
pascal@9281 | 25 |
pascal@9281 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 27 genpkg_rules() |
pascal@9281 | 28 { |
pascal@9281 | 29 mkdir -p $fs/usr |
Hans-G?nter@23312 | 30 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 31 } |