wok annotate perl-dbd-mysql/receipt @ rev 23401
updated perl-test-pod-coverage (1.08 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:42:48 2020 +0100 (2020-03-31) |
parents | 403e94343cc5 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1600 | 1 # SliTaz package receipt. |
pascal@1600 | 2 |
pascal@1600 | 3 PACKAGE="perl-dbd-mysql" |
Hans-G?nter@23314 | 4 VERSION="4.050" |
pascal@1600 | 5 CATEGORY="development" |
Hans-G?nter@23314 | 6 SHORT_DESC="Perl extension DBD::mysql." |
pascal@1600 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23314 | 9 WEB_SITE="https://metacpan.org/release/DBD-mysql" |
Hans-G?nter@23314 | 10 |
pascal@1600 | 11 SOURCE="DBD-mysql" |
pascal@1600 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23314 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/$TARBALL" |
pascal@1600 | 14 |
Hans-G?nter@23314 | 15 DEPENDS="libmysqlclient perl perl-dbi-dbd zlib" |
Hans-G?nter@23314 | 16 BUILD_DEPENDS="mysql-dev perl perl-dbi-dbd perl-devel-checklib" |
pascal@13319 | 17 |
pascal@1600 | 18 # Rules to configure and make the package. |
pascal@1600 | 19 compile_rules() |
pascal@1600 | 20 { |
Hans-G?nter@23314 | 21 perl Makefile.PL && |
Hans-G?nter@23314 | 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 |
Hans-G?nter@23314 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1600 | 31 } |