wok-6.x annotate perl-berkeleydb/receipt @ rev 23291
updated perl-berkeleydb (0.51 -> 0.63)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 15:24:40 2020 +0100 (2020-03-29) |
parents | 2d12ebd38be4 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1194 | 1 # SliTaz package receipt. |
pascal@1194 | 2 |
pascal@1194 | 3 PACKAGE="perl-berkeleydb" |
Hans-G?nter@23291 | 4 VERSION="0.63" |
pascal@1194 | 5 CATEGORY="development" |
Hans-G?nter@23291 | 6 SHORT_DESC="Perl extension BerkeleyDB as interface to db." |
pascal@1194 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23291 | 9 WEB_SITE="https://metacpan.org/release/BerkeleyDB" |
Hans-G?nter@23291 | 10 |
pascal@1194 | 11 SOURCE="BerkeleyDB" |
pascal@1194 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23291 | 13 WGET_URL="https://www.cpan.org/modules/by-module/BerkeleyDB/$TARBALL" |
Hans-G?nter@23291 | 14 |
Hans-G?nter@23291 | 15 DEPENDS="db perl" |
Hans-G?nter@23291 | 16 BUILD_DEPENDS="db db-dev perl" |
pascal@1194 | 17 |
pascal@1194 | 18 # Rules to configure and make the package. |
pascal@1194 | 19 compile_rules() |
pascal@1194 | 20 { |
pascal@1194 | 21 perl Makefile.PL |
pascal@1194 | 22 make |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1194 | 24 } |
pascal@1194 | 25 |
pascal@1194 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1194 | 27 genpkg_rules() |
pascal@1194 | 28 { |
pascal@1194 | 29 mkdir -p $fs/usr |
Hans-G?nter@23291 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1194 | 31 } |