wok-current annotate perl-parse-recdescent/receipt @ rev 11194
Up: leocad to 0.75.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 03:12:43 2011 +0000 (2011-11-03) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@5971 | 1 # SliTaz package receipt. |
pascal@5971 | 2 |
pascal@5971 | 3 PACKAGE="perl-parse-recdescent" |
pascal@5971 | 4 VERSION="1.965001" |
pascal@5971 | 5 CATEGORY="development" |
pascal@5971 | 6 SHORT_DESC="Parse::RecDescent module is a Perl extension." |
pascal@5971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5971 | 8 DEPENDS="perl" |
pascal@5971 | 9 BUILD_DEPENDS="perl" |
pascal@5971 | 10 SOURCE="Parse-RecDescent" |
pascal@5971 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5971 | 12 WEB_SITE="http://cpan.org/" |
pascal@5971 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/$TARBALL" |
pascal@5971 | 14 |
pascal@5971 | 15 # Rules to configure and make the package. |
pascal@5971 | 16 compile_rules() |
pascal@5971 | 17 { |
pascal@5971 | 18 cd $src |
pascal@5971 | 19 perl Makefile.PL && |
pascal@5971 | 20 make && |
pascal@5971 | 21 make DESTDIR=$PWD/_pkg install |
pascal@5971 | 22 } |
pascal@5971 | 23 |
pascal@5971 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5971 | 25 genpkg_rules() |
pascal@5971 | 26 { |
pascal@5971 | 27 mkdir -p $fs/usr |
pascal@5971 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@5971 | 29 } |
pascal@5971 | 30 |