wok-current annotate perl-dbd-mysql/receipt @ rev 1902
linux/initramfs: tiny fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 20 20:41:43 2008 +0000 (2008-12-20) |
parents | 72b341769c13 |
children | 89e187b7d309 |
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@1750 | 8 DEPENDS="perl perl-dbi-dbd libmysqlclient" |
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 |