wok-current view perl-dbd-mysql/receipt @ rev 17875
Up: tazpkg (757): fix installed.info bug, please, make new ISO to check it up.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 27 10:42:34 2015 +0200 (2015-03-27) |
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 }