wok annotate perl-parse-recdescent/receipt @ rev 18052
Up libssh2 (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 15 10:39:20 2015 +0200 (2015-05-15) |
parents | 390d33ce7a25 |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@5971 | 9 DEPENDS="perl" |
pascal@5971 | 10 BUILD_DEPENDS="perl" |
pascal@5971 | 11 SOURCE="Parse-RecDescent" |
pascal@5971 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5971 | 13 WEB_SITE="http://cpan.org/" |
pascal@5971 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/$TARBALL" |
pascal@5971 | 15 |
pascal@5971 | 16 # Rules to configure and make the package. |
pascal@5971 | 17 compile_rules() |
pascal@5971 | 18 { |
pascal@5971 | 19 cd $src |
pascal@5971 | 20 perl Makefile.PL && |
pascal@5971 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@5971 | 23 } |
pascal@5971 | 24 |
pascal@5971 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5971 | 26 genpkg_rules() |
pascal@5971 | 27 { |
pascal@5971 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@5971 | 30 } |
pascal@5971 | 31 |