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

connman: use pidof string if no .pid file
author Richard Dunbar <mojo@slitaz.org>
date Mon Dec 23 22:28:27 2013 +0000 (2013-12-23)
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 }