wok-next view perl-dbi/receipt @ rev 19769

Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 14 09:51:23 2017 +0300 (2017-06-14)
parents 1a86cb99cbbf
children 44d2daaccb67
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-dbi"
4 VERSION="1.636"
5 CATEGORY="perl"
6 SHORT_DESC="DBI - Database independent interface for Perl"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/DBI"
11 TARBALL="DBI-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/T/TI/TIMB/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 perl Makefile.PL &&
21 make && make DESTDIR=$install install &&
23 chmod -R u+w $install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 copy @std @dev
30 }