wok annotate perl-datetime-format-w3cdtf/receipt @ rev 25746

libxfce4ui: replaced dependency libxfconf by xfconf
author Hans-Günter Theisgen
date Sat Aug 31 09:19:18 2024 +0100 (11 months ago)
parents 11e6cb8f9c4f
children
rev   line source
pascal@9281 1 # SliTaz package receipt.
pascal@9281 2
pascal@9281 3 PACKAGE="perl-datetime-format-w3cdtf"
Hans-Günter@24195 4 VERSION="0.08"
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"
pascal@25663 9 WEB_SITE="https://metacpan.org/dist/DateTime-Format-W3CDTF"
Hans-Günter@24195 10 REPOLOGY=="perl:datetime-format-w3cdtf"
Hans-Günter@23312 11
Hans-Günter@23312 12 SOURCE="DateTime-Format-W3CDTF"
Hans-Günter@23312 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-Günter@23312 14 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL"
Hans-Günter@23312 15
pascal@9281 16 DEPENDS="perl"
pascal@9281 17 BUILD_DEPENDS="perl"
pascal@9281 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
pascal@9281 25 # Rules to configure and make the package.
pascal@9281 26 compile_rules()
pascal@9281 27 {
pascal@9281 28 perl Makefile.PL &&
pascal@9281 29 make &&
Hans-Günter@24195 30 make install DESTDIR=$DESTDIR
pascal@9281 31 }
pascal@9281 32
pascal@9281 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9281 34 genpkg_rules()
pascal@9281 35 {
Hans-Günter@24195 36 cook_copy_folders lib
pascal@9281 37 }