wok-next annotate perl-mailtools/receipt @ rev 18684
Add ipkungfu (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 21:59:42 2015 +0100 (2015-12-09) |
parents | b768ede0c5cb |
children | 1a86cb99cbbf |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-mailtools" |
pascal@14698 | 4 VERSION="2.12" |
pascal@14698 | 5 CATEGORY="development" |
pascal@14698 | 6 SHORT_DESC="MAIL module is a Perl extension." |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14698 | 9 DEPENDS="perl" |
pascal@14698 | 10 BUILD_DEPENDS="perl" |
pascal@14698 | 11 SOURCE="MailTools" |
pascal@14698 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14698 | 13 WEB_SITE="http://cpan.org/" |
pascal@14698 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/$TARBALL" |
pascal@14698 | 15 PROVIDE="perl-mail-address perl-mail-cap perl-mail-field perl-mail-filter \ |
pascal@14698 | 16 perl-mail-header perl-mail-internet perl-mail-mailer perl-mail-send \ |
pascal@14698 | 17 perl-mail-util" |
pascal@14698 | 18 |
pascal@14698 | 19 # Rules to configure and make the package. |
pascal@14698 | 20 compile_rules() |
pascal@14698 | 21 { |
pascal@14698 | 22 cd $src |
pascal@14698 | 23 perl Makefile.PL && |
pascal@14698 | 24 make && |
pascal@14698 | 25 make install DESTDIR=$DESTDIR |
pascal@14698 | 26 } |
pascal@14698 | 27 |
pascal@14698 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 29 genpkg_rules() |
pascal@14698 | 30 { |
pascal@14698 | 31 mkdir -p $fs/usr |
pascal@14698 | 32 cp -a $install/usr/lib $fs/usr |
pascal@14698 | 33 } |
pascal@14698 | 34 |