wok-current annotate perl-datetime-format-mail/receipt @ rev 24703
updated ladspa and ladspa-dev (1.15 -> 1.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 11:12:41 2022 +0100 (2022-03-14) |
parents | 826c1bab582b |
children |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime-format-mail" |
pascal@21220 | 4 VERSION="0.403" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="DateTime::Format::Mail module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@9281 | 9 SOURCE="DateTime-Format-Mail" |
pascal@9281 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 11 WEB_SITE="https://metacpan.org/dist/DateTime-Format-Mail" |
pascal@21220 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/B/BO/BOOK/$TARBALL" |
pascal@9281 | 13 |
pascal@11857 | 14 DEPENDS="perl" |
pascal@11857 | 15 BUILD_DEPENDS="perl-datetime perl-params-validate" |
pascal@11857 | 16 |
pascal@24103 | 17 current_version() |
pascal@24103 | 18 { |
pascal@24103 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 21 } |
pascal@24103 | 22 |
pascal@9281 | 23 # Rules to configure and make the package. |
pascal@9281 | 24 compile_rules() |
pascal@9281 | 25 { |
pascal@9281 | 26 perl Makefile.PL && |
pascal@9281 | 27 make && |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
pascal@9281 | 29 } |
pascal@9281 | 30 |
pascal@9281 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 32 genpkg_rules() |
pascal@9281 | 33 { |
pascal@9281 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 36 } |