wok-6.x view perl-dbd-mysql/receipt @ rev 20211

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 11:30:52 2018 +0100 (2018-02-24)
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 }