wok-6.x annotate perl-dbd-mysql/receipt @ rev 14155
Up cookutils-daemon (3.1.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 05 21:56:58 2013 +0100 (2013-03-05) |
parents | 5da28531bdd0 |
children | 2d12ebd38be4 |
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 SOURCE="DBD-mysql" |
pascal@1600 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1600 | 10 WEB_SITE="http://cpan.org/" |
pascal@1600 | 11 WGET_URL="http://cpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL" |
pascal@1600 | 12 |
pascal@13319 | 13 DEPENDS="perl perl-dbi-dbd libmysqlclient zlib" |
pascal@13319 | 14 BUILD_DEPENDS="perl perl-dbi-dbd mysql-dev" |
pascal@13319 | 15 |
pascal@1600 | 16 # Rules to configure and make the package. |
pascal@1600 | 17 compile_rules() |
pascal@1600 | 18 { |
pascal@1600 | 19 cd $src |
pascal@1600 | 20 perl Makefile.PL |
pascal@1600 | 21 make |
pascal@13319 | 22 make DESTDIR=$DESTDIR install |
pascal@1600 | 23 } |
pascal@1600 | 24 |
pascal@1600 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1600 | 26 genpkg_rules() |
pascal@1600 | 27 { |
pascal@1600 | 28 mkdir -p $fs/usr |
pascal@13319 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1600 | 30 } |
pascal@1600 | 31 |