wok-next annotate perl-dbd-mysql/receipt @ rev 1600

Add perl-dbd-mysql
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:13:50 2008 +0000 (2008-10-19)
parents
children 2d03cdc832cb
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@1600 8 DEPENDS="perl perl-dbi-dbd"
pascal@1600 9 BUILD_DEPENDS="perl perl-dbi-dbd"
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