wok-stable annotate perl-rfc-rfc822-address/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | |
children |
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 |