wok-next annotate perl-dbd-mysql/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4e6503d7a19f
children 2032afd3d24e
rev   line source
al@21020 1 # SliTaz package receipt v2.
pascal@1600 2
pascal@1600 3 PACKAGE="perl-dbd-mysql"
al@20820 4 VERSION="4.046"
al@19770 5 CATEGORY="perl"
al@19770 6 SHORT_DESC="DBD::mysql - MySQL driver for the Perl5 Database Interface (DBI)"
pascal@1600 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
al@19770 9 WEB_SITE="https://metacpan.org/release/DBD-mysql"
al@20884 10 REPOLOGY="perl:dbd-mysql"
al@19770 11
al@19770 12 TARBALL="DBD-mysql-$VERSION.tar.gz"
al@20825 13 WGET_URL="https://cpan.metacpan.org/authors/id/C/CA/CAPTTOFU/$TARBALL"
pascal@1600 14
al@19770 15 BUILD_DEPENDS="perl-dev perl-dbi mysql-dev perl-devel-checklib"
pascal@13319 16
al@21020 17 compile_rules() {
al@19770 18 perl Makefile.PL &&
al@21020 19 make &&
al@21020 20 make DESTDIR=$install install &&
al@19770 21
al@19770 22 chmod -R u+w $install
pascal@1600 23 }
pascal@1600 24
al@21020 25 genpkg_rules() {
al@19770 26 copy @std
al@21020 27 DEPENDS="perl perl-dbi libmysqlclient zlib"
pascal@1600 28 }