wok-current annotate perl-berkeleydb/receipt @ rev 1514
Update some BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 06 19:20:18 2008 +0000 (2008-10-06) |
parents | |
children | 58a823cee339 |
rev | line source |
---|---|
pascal@1194 | 1 # SliTaz package receipt. |
pascal@1194 | 2 |
pascal@1194 | 3 PACKAGE="perl-berkeleydb" |
pascal@1194 | 4 VERSION="0.34" |
pascal@1194 | 5 CATEGORY="development" |
pascal@1194 | 6 SHORT_DESC="BerkeleyDB module is a Perl extension interface to db." |
pascal@1194 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1194 | 8 DEPENDS="perl db" |
pascal@1194 | 9 BUILD_DEPENDS="perl db db-dev" |
pascal@1194 | 10 SOURCE="BerkeleyDB" |
pascal@1194 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1194 | 12 WEB_SITE="http://cpan.org/" |
pascal@1194 | 13 WGET_URL="http://cpan.org/authors/id/P/PM/PMQS/$TARBALL" |
pascal@1194 | 14 |
pascal@1194 | 15 # Rules to configure and make the package. |
pascal@1194 | 16 compile_rules() |
pascal@1194 | 17 { |
pascal@1194 | 18 cd $src |
pascal@1194 | 19 perl Makefile.PL |
pascal@1194 | 20 make |
pascal@1194 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1194 | 22 } |
pascal@1194 | 23 |
pascal@1194 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1194 | 25 genpkg_rules() |
pascal@1194 | 26 { |
pascal@1194 | 27 mkdir -p $fs/usr |
pascal@1194 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1194 | 29 } |
pascal@1194 | 30 |