wok-current view perl-dbd-sqlite/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 40e13bd12dd5 |
children | 34787ac3a77e |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-dbd-sqlite"
4 VERSION="1.37"
5 CATEGORY="development"
6 SHORT_DESC="DBD::SQLite module is a Perl extension."
7 MAINTAINER="admin@trixarian.net"
8 LICENSE="GPL"
9 SOURCE="DBD-SQLite"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://cpan.org/authors/id/A/AD/ADAMK/$TARBALL"
13 DEPENDS="perl perl-dbi-dbd libsqlite"
14 BUILD_DEPENDS="perl perl-dbi-dbd sqlite-dev"
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 }