wok view perl-dbd-mysql/receipt @ rev 14714

lib[a-n]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 10:41:23 2013 +0200 (2013-06-11)
parents 76da15478fea
children 34787ac3a77e
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 LICENSE="GPL"
9 SOURCE="DBD-mysql"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://cpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL"
14 DEPENDS="perl perl-dbi-dbd libmysqlclient zlib"
15 BUILD_DEPENDS="perl perl-dbi-dbd mysql-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 }