wok view perl-mailtools/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents b768ede0c5cb
children 20661c276bcf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-mailtools"
4 VERSION="2.12"
5 CATEGORY="development"
6 SHORT_DESC="MAIL module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="MailTools"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/$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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 perl Makefile.PL &&
24 make &&
25 make install DESTDIR=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }