wok-6.x view perl-mailtools/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
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 }