wok-6.x view perl-dbd-mysql/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 403e94343cc5 |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-dbd-mysql"
4 VERSION="4.050"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension DBD::mysql."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/DBD-mysql"
11 SOURCE="DBD-mysql"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/$TARBALL"
15 DEPENDS="libmysqlclient perl perl-dbi-dbd zlib"
16 BUILD_DEPENDS="mysql-dev perl perl-dbi-dbd perl-devel-checklib"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }