wok-6.x annotate perl-mailtools/receipt @ rev 23957
Add ncat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 28 11:26:35 2020 +0000 (2020-09-28) |
parents | 20661c276bcf |
children | 15650f5d595b |
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@14698 | 21 # Rules to configure and make the package. |
pascal@14698 | 22 compile_rules() |
pascal@14698 | 23 { |
pascal@14698 | 24 perl Makefile.PL && |
pascal@14698 | 25 make && |
pascal@14698 | 26 make install DESTDIR=$DESTDIR |
pascal@14698 | 27 } |
pascal@14698 | 28 |
pascal@14698 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 30 genpkg_rules() |
pascal@14698 | 31 { |
pascal@14698 | 32 mkdir -p $fs/usr |
Hans-G?nter@23366 | 33 cp -a $install/usr/lib $fs/usr |
pascal@14698 | 34 } |