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

Update SliTaz projects: slitaz-base-files(316), slitaz-tools(1006), tazinst(84), tazlito(443), tazpanel(609), tazpkg(928), tazusb(193), tazweb(173).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 20 00:33:44 2016 +0200 (2016-11-20)
parents 9838d48424a5
children 1a86cb99cbbf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-dbi"
4 VERSION="v3.0.17"
5 CATEGORY="development"
6 SHORT_DESC="DBI module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="Class-DBI"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://cpan.org/authors/id/T/TM/TMTM/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL
21 make
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }