wok-6.x view perl-dbd-mysql/receipt @ rev 14164
nut: up 2.6.5
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Mar 07 20:38:21 2013 -0800 (2013-03-07) |
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 }