wok annotate perl-dbd-pg/receipt @ rev 13505
Up: iptables (1.14.16.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Oct 13 22:09:46 2012 +0200 (2012-10-13) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@13319 | 1 # SliTaz package receipt. |
pascal@13319 | 2 |
pascal@13319 | 3 PACKAGE="perl-dbd-pg" |
pascal@13319 | 4 VERSION="2.19.3" |
pascal@13319 | 5 CATEGORY="development" |
pascal@13319 | 6 SHORT_DESC="DBD::Pg module is a Perl extension." |
pascal@13319 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13319 | 8 SOURCE="DBD-Pg" |
pascal@13319 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13319 | 10 WEB_SITE="http://cpan.org/" |
pascal@13319 | 11 WGET_URL="http://cpan.org/authors/id/T/TU/TURNSTEP/$TARBALL" |
pascal@13319 | 12 |
pascal@13319 | 13 DEPENDS="perl perl-dbi-dbd libpostgresqlclient" |
pascal@13319 | 14 BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev" |
pascal@13319 | 15 |
pascal@13319 | 16 # Rules to configure and make the package. |
pascal@13319 | 17 compile_rules() |
pascal@13319 | 18 { |
pascal@13319 | 19 cd $src |
pascal@13319 | 20 perl Makefile.PL |
pascal@13319 | 21 make |
pascal@13319 | 22 make DESTDIR=$DESTDIR install |
pascal@13319 | 23 } |
pascal@13319 | 24 |
pascal@13319 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13319 | 26 genpkg_rules() |
pascal@13319 | 27 { |
pascal@13319 | 28 mkdir -p $fs/usr |
pascal@13319 | 29 cp -a $install/usr/lib $fs/usr |
pascal@13319 | 30 } |
pascal@13319 | 31 |