wok-stable annotate perl-dbd-mysql/receipt @ rev 4099
slitaz-loram*: add extract-loram
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 21:59:40 2009 +0200 (2009-09-18) |
parents | 2d03cdc832cb |
children | 5da28531bdd0 |
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" |
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 |