wok-6.x annotate perl-dbd-mysql/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents 34787ac3a77e
children 686da740b4f3
rev   line source
pascal@1600 1 # SliTaz package receipt.
pascal@1600 2
pascal@1600 3 PACKAGE="perl-dbd-mysql"
pascal@20488 4 VERSION="4.048"
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@20488 12 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/$TARBALL"
pascal@1600 13
pascal@13319 14 DEPENDS="perl perl-dbi-dbd libmysqlclient zlib"
pascal@20489 15 BUILD_DEPENDS="perl perl-dbi-dbd mysql-dev perl-devel-checklib"
pascal@13319 16
pascal@1600 17 # Rules to configure and make the package.
pascal@1600 18 compile_rules()
pascal@1600 19 {
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 }