wok-6.x view perl-dbd-pg/receipt @ rev 13360

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