wok-6.x annotate perl-dbd-mysql/receipt @ rev 12283

Add TEA Qt4 Light Text editor
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 15:59:11 2012 +0200 (2012-04-15)
parents 89e187b7d309
children 76da15478fea
rev   line source
pascal@1600 1 # SliTaz package receipt.
pascal@1600 2
pascal@1600 3 PACKAGE="perl-dbd-mysql"
pascal@1600 4 VERSION="4.008"
pascal@1600 5 CATEGORY="development"
pascal@1600 6 SHORT_DESC="DBD::mysql module is a Perl extension."
pascal@1600 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2457 8 DEPENDS="perl perl-dbi-dbd libmysqlclient zlib"
erjo@4843 9 BUILD_DEPENDS="perl perl-dbi-dbd mysql-dev"
pascal@1600 10 SOURCE="DBD-mysql"
pascal@1600 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1600 12 WEB_SITE="http://cpan.org/"
pascal@1600 13 WGET_URL="http://cpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL"
pascal@1600 14
pascal@1600 15 # Rules to configure and make the package.
pascal@1600 16 compile_rules()
pascal@1600 17 {
pascal@1600 18 cd $src
pascal@1600 19 perl Makefile.PL
pascal@1600 20 make
pascal@1600 21 make DESTDIR=$PWD/_pkg install
pascal@1600 22 }
pascal@1600 23
pascal@1600 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1600 25 genpkg_rules()
pascal@1600 26 {
pascal@1600 27 mkdir -p $fs/usr
pascal@1600 28 cp -a $_pkg/usr/lib $fs/usr
pascal@1600 29 }
pascal@1600 30