wok-next annotate perl-dbd-pg/receipt @ rev 16264

Add some any arch packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 05 10:12:34 2014 +0000 (2014-04-05)
parents 76da15478fea
children 1a86cb99cbbf
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@14702 8 LICENSE="GPL"
pascal@13319 9 SOURCE="DBD-Pg"
pascal@13319 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@13319 11 WEB_SITE="http://cpan.org/"
pascal@13319 12 WGET_URL="http://cpan.org/authors/id/T/TU/TURNSTEP/$TARBALL"
pascal@13319 13
pascal@13319 14 DEPENDS="perl perl-dbi-dbd libpostgresqlclient"
pascal@13319 15 BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev"
pascal@13319 16
pascal@13319 17 # Rules to configure and make the package.
pascal@13319 18 compile_rules()
pascal@13319 19 {
pascal@13319 20 cd $src
pascal@13319 21 perl Makefile.PL
pascal@13319 22 make
pascal@13319 23 make DESTDIR=$DESTDIR install
pascal@13319 24 }
pascal@13319 25
pascal@13319 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13319 27 genpkg_rules()
pascal@13319 28 {
pascal@13319 29 mkdir -p $fs/usr
pascal@13319 30 cp -a $install/usr/lib $fs/usr
pascal@13319 31 }
pascal@13319 32