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

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