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