wok-current view perl-mailtools/receipt @ rev 25637
Add miss new packages (Py3Qt-x11-gpl and pycairo118)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jan 15 22:12:34 2024 +0000 (11 months ago) |
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 }