wok view perl-berkeleydb/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 58a823cee339
children a0a53bfa3f40
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-berkeleydb"
4 VERSION="0.51"
5 CATEGORY="development"
6 SHORT_DESC="BerkeleyDB module is a Perl extension interface to db."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl db"
10 BUILD_DEPENDS="perl db db-dev"
11 SOURCE="BerkeleyDB"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://cpan.org/authors/id/P/PM/PMQS/$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 }