wok-current annotate perl-dbd-mysql/receipt @ rev 19645
Up slitaz-base-files (322)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 16:33:25 2017 +0200 (2017-01-21) |
parents | 76da15478fea |
children | 34787ac3a77e |
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@14702 | 8 LICENSE="GPL" |
pascal@1600 | 9 SOURCE="DBD-mysql" |
pascal@1600 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1600 | 11 WEB_SITE="http://cpan.org/" |
pascal@1600 | 12 WGET_URL="http://cpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL" |
pascal@1600 | 13 |
pascal@13319 | 14 DEPENDS="perl perl-dbi-dbd libmysqlclient zlib" |
pascal@13319 | 15 BUILD_DEPENDS="perl perl-dbi-dbd mysql-dev" |
pascal@13319 | 16 |
pascal@1600 | 17 # Rules to configure and make the package. |
pascal@1600 | 18 compile_rules() |
pascal@1600 | 19 { |
pascal@1600 | 20 cd $src |
pascal@1600 | 21 perl Makefile.PL |
pascal@1600 | 22 make |
pascal@13319 | 23 make DESTDIR=$DESTDIR install |
pascal@1600 | 24 } |
pascal@1600 | 25 |
pascal@1600 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1600 | 27 genpkg_rules() |
pascal@1600 | 28 { |
pascal@1600 | 29 mkdir -p $fs/usr |
pascal@13319 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1600 | 31 } |
pascal@1600 | 32 |