wok-6.x annotate perl-rfc-rfc822-address/receipt @ rev 13292
Up tinc (1.0.19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 27 16:36:53 2012 +0200 (2012-08-27) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@5970 | 1 # SliTaz package receipt. |
pascal@5970 | 2 |
pascal@5970 | 3 PACKAGE="perl-rfc-rfc822-address" |
pascal@5970 | 4 VERSION="2009110702" |
pascal@5970 | 5 CATEGORY="development" |
pascal@5970 | 6 SHORT_DESC="RFC::RFC822::Address module is a Perl extension." |
pascal@5970 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5970 | 8 DEPENDS="perl" |
pascal@5970 | 9 BUILD_DEPENDS="perl" |
pascal@5970 | 10 SOURCE="RFC-RFC822-Address" |
pascal@5970 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5970 | 12 WEB_SITE="http://cpan.org/" |
pascal@5970 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/$TARBALL" |
pascal@5970 | 14 |
pascal@5970 | 15 # Rules to configure and make the package. |
pascal@5970 | 16 compile_rules() |
pascal@5970 | 17 { |
pascal@5970 | 18 cd $src |
pascal@5970 | 19 perl Makefile.PL && |
pascal@5970 | 20 make && |
pascal@5970 | 21 make DESTDIR=$PWD/_pkg install |
pascal@5970 | 22 } |
pascal@5970 | 23 |
pascal@5970 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5970 | 25 genpkg_rules() |
pascal@5970 | 26 { |
pascal@5970 | 27 mkdir -p $fs/usr |
pascal@5970 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@5970 | 29 } |
pascal@5970 | 30 |