wok-next diff perl-dbd-mysql/receipt @ rev 14592

Merge commit
author Stanislas Leduc <shann@slitaz.org>
date Sun May 26 23:46:07 2013 +0200 (2013-05-26)
parents 5da28531bdd0
children 2d12ebd38be4
line diff
     1.1 --- a/perl-dbd-mysql/receipt	Fri Jan 29 16:31:55 2010 +0100
     1.2 +++ b/perl-dbd-mysql/receipt	Sun May 26 23:46:07 2013 +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