wok annotate perl-datetime/receipt @ rev 23462
updated pymux (0.6 -> 0.14)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 04 17:32:52 2020 +0100 (2020-04-04) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime" |
Hans-G?nter@23310 | 4 VERSION="1.52" |
pascal@9281 | 5 CATEGORY="development" |
Hans-G?nter@23310 | 6 SHORT_DESC="Perl extension DateTime." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23310 | 9 WEB_SITE="https://metacpan.org/release/DateTime" |
Hans-G?nter@23310 | 10 |
pascal@9281 | 11 SOURCE="DateTime" |
pascal@9281 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23310 | 13 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" |
pascal@9281 | 14 |
Hans-G?nter@23310 | 15 DEPENDS="perl perl-class-singleton perl-datetime-locale perl-datetime-timezone |
Hans-G?nter@23310 | 16 perl-exporter-tiny perl-list-moreutils perl-math-round perl-params-validate |
Hans-G?nter@23310 | 17 perl-test-exception perl-test-fatal perl-test-warnings perl-test-simple |
Hans-G?nter@23310 | 18 perl-try-tiny" |
slaxemulator@11977 | 19 BUILD_DEPENDS="$DEPENDS" |
pascal@11879 | 20 |
pascal@9281 | 21 # Rules to configure and make the package. |
pascal@9281 | 22 compile_rules() |
pascal@9281 | 23 { |
Hans-G?nter@23310 | 24 perl Makefile.PL && |
Hans-G?nter@23310 | 25 make && |
Hans-G?nter@23310 | 26 make DESTDIR=$DESTDIR install |
pascal@9281 | 27 } |
pascal@9281 | 28 |
pascal@9281 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 30 genpkg_rules() |
pascal@9281 | 31 { |
pascal@9281 | 32 mkdir -p $fs/usr |
Hans-G?nter@23310 | 33 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 34 } |