wok-6.x annotate perl-params-validate/receipt @ rev 12284
graphviz: try a fix (xorg-dev as bdep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 16:18:24 2012 +0200 (2012-04-15) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-params-validate" |
pascal@9281 | 4 VERSION="0.95" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="Params::Validate module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9281 | 8 DEPENDS="perl" |
pascal@9281 | 9 BUILD_DEPENDS="perl" |
pascal@9281 | 10 SOURCE="Params-Validate" |
pascal@9281 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 12 WEB_SITE="http://cpan.org/" |
pascal@9281 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 14 |
pascal@9281 | 15 # Rules to configure and make the package. |
pascal@9281 | 16 compile_rules() |
pascal@9281 | 17 { |
pascal@9281 | 18 cd $src |
pascal@9281 | 19 perl Build.PL && |
pascal@9281 | 20 ./Build --destdir $PWD/_pkg install |
pascal@9281 | 21 } |
pascal@9281 | 22 |
pascal@9281 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 24 genpkg_rules() |
pascal@9281 | 25 { |
pascal@9281 | 26 mkdir -p $fs/usr |
pascal@9281 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@9281 | 28 } |
pascal@9281 | 29 |