wok annotate perl-mailtools/receipt @ rev 24252

updated perl-soap-lite (0.710.08 -> 1.27)
author Hans-G?nter Theisgen
date Sun Jan 02 09:51:29 2022 +0100 (2022-01-02)
parents e2f68a0ae086
children 0af8df0b46fc
rev   line source
pascal@14698 1 # SliTaz package receipt.
pascal@14698 2
pascal@14698 3 PACKAGE="perl-mailtools"
Hans-G?nter@23366 4 VERSION="2.21"
pascal@14698 5 CATEGORY="development"
Hans-G?nter@23366 6 SHORT_DESC="Perl extension MailTools."
pascal@14698 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23366 9 WEB_SITE="https://metacpan.org/release/MailTools"
Hans-G?nter@23366 10
Hans-G?nter@23366 11 SOURCE="MailTools"
Hans-G?nter@23366 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23366 13 WGET_URL="https://www.cpan.org/modules/by-module/Mail/$TARBALL"
Hans-G?nter@23366 14
Hans-G?nter@23366 15 PROVIDE="perl-mail-address perl-mail-cap perl-mail-field perl-mail-filter \
Hans-G?nter@23366 16 perl-mail-header perl-mail-internet perl-mail-mailer perl-mail-send \
Hans-G?nter@23366 17 perl-mail-util"
pascal@14698 18 DEPENDS="perl"
pascal@14698 19 BUILD_DEPENDS="perl"
pascal@14698 20
pascal@24102 21 current_version()
pascal@24102 22 {
pascal@24102 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 24 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 25 }
pascal@24102 26
pascal@14698 27 # Rules to configure and make the package.
pascal@14698 28 compile_rules()
pascal@14698 29 {
pascal@14698 30 perl Makefile.PL &&
pascal@14698 31 make &&
pascal@14698 32 make install DESTDIR=$DESTDIR
pascal@14698 33 }
pascal@14698 34
pascal@14698 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14698 36 genpkg_rules()
pascal@14698 37 {
pascal@14698 38 mkdir -p $fs/usr
Hans-G?nter@23366 39 cp -a $install/usr/lib $fs/usr
pascal@14698 40 }