wok-current rev 13319

Add perl-dbd-pg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 31 11:42:07 2012 +0200 (2012-08-31)
parents 190d76fd43ca
children 88d4d9467097
files perl-dbd-mysql/receipt perl-dbd-pg/receipt
line diff
     1.1 --- a/perl-dbd-mysql/receipt	Fri Aug 31 08:57:15 2012 +0200
     1.2 +++ b/perl-dbd-mysql/receipt	Fri Aug 31 11:42:07 2012 +0200
     1.3 @@ -5,26 +5,27 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="DBD::mysql module is a Perl extension."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 -DEPENDS="perl perl-dbi-dbd libmysqlclient zlib"
     1.8 -BUILD_DEPENDS="perl perl-dbi-dbd mysql-dev"
     1.9  SOURCE="DBD-mysql"
    1.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://cpan.org/"
    1.12  WGET_URL="http://cpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL"
    1.13  
    1.14 +DEPENDS="perl perl-dbi-dbd libmysqlclient zlib"
    1.15 +BUILD_DEPENDS="perl perl-dbi-dbd mysql-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	perl Makefile.PL
    1.22  	make
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 +	make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr
    1.31 -	cp -a $_pkg/usr/lib $fs/usr
    1.32 +	cp -a $install/usr/lib $fs/usr
    1.33  }
    1.34  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-dbd-pg/receipt	Fri Aug 31 11:42:07 2012 +0200
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="perl-dbd-pg"
     2.7 +VERSION="2.19.3"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="DBD::Pg module is a Perl extension."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +SOURCE="DBD-Pg"
    2.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://cpan.org/"
    2.14 +WGET_URL="http://cpan.org/authors/id/T/TU/TURNSTEP/$TARBALL"
    2.15 +
    2.16 +DEPENDS="perl perl-dbi-dbd libpostgresqlclient"
    2.17 +BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	perl Makefile.PL
    2.24 +	make
    2.25 +	make DESTDIR=$DESTDIR install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $install/usr/lib $fs/usr
    2.33 +}
    2.34 +