wok-current annotate perl-datetime/receipt @ rev 23195
updated msgpack and msgpack-dev (3.1.1 -> 3.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 20 15:54:32 2020 +0100 (2020-03-20) |
parents | 6e8b1bcb30e2 |
children | 0d774eb19bf9 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime" |
nneul@18450 | 4 VERSION="1.20" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="DateTime module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@9281 | 9 SOURCE="DateTime" |
pascal@9281 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 11 WEB_SITE="https://metacpan.org/release/DateTime" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 13 |
nneul@18450 | 14 DEPENDS="perl perl-params-validate perl-test-exception perl-test-warnings \ |
nneul@18451 | 15 perl-datetime-locale perl-math-round perl-datetime-timezone perl-test-fatal \ |
nneul@18453 | 16 perl-list-moreutils perl-try-tiny perl-test-simple perl-exporter-tiny \ |
nneul@18453 | 17 perl-class-singleton" |
slaxemulator@11977 | 18 BUILD_DEPENDS="$DEPENDS" |
pascal@11879 | 19 |
pascal@9281 | 20 # Rules to configure and make the package. |
pascal@9281 | 21 compile_rules() |
pascal@9281 | 22 { |
pascal@9281 | 23 cd $src |
pascal@9281 | 24 perl Build.PL && |
slaxemulator@10151 | 25 ./Build --destdir $DESTDIR install |
pascal@9281 | 26 } |
pascal@9281 | 27 |
pascal@9281 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 29 genpkg_rules() |
pascal@9281 | 30 { |
pascal@9281 | 31 mkdir -p $fs/usr |
pascal@14702 | 32 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 33 } |
pascal@9281 | 34 |