wok-current view perl-dbd-mysql/receipt @ 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 5da28531bdd0
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-dbd-mysql"
4 VERSION="4.008"
5 CATEGORY="development"
6 SHORT_DESC="DBD::mysql module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="DBD-mysql"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://cpan.org/"
11 WGET_URL="http://cpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL"
13 DEPENDS="perl perl-dbi-dbd libmysqlclient zlib"
14 BUILD_DEPENDS="perl perl-dbi-dbd mysql-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 }