wok-next view db/receipt @ rev 19737

Up bind, brotli, cairo, check, compface, cookutils, cpio, curl, db, openssl.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 30 05:37:57 2017 +0300 (2017-05-30)
parents c401b815022b
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="db"
4 VERSION="6.2.23"
5 CATEGORY="misc"
6 SHORT_DESC="Berkeley database system"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.oracle.com/database/berkeley-db/db.html"
10 TAGS="database"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
16 SPLIT="libdb libdb-cxx db-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/build_unix
22 ../dist/configure \
23 --enable-cxx \
24 --enable-compat185 \
25 --enable-dbm \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make &&
29 make docdir=/usr/share/doc/$PACKAGE-$VERSION install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 db)
37 copy bin/
38 DEPENDS="libdb"
39 ;;
40 libdb)
41 copy libdb-*so libdb.so
42 CAT="libs|libraries"
43 DEPENDS="glibc-base"
44 ;;
45 libdb-cxx)
46 copy libdb_cxx-*so libdb_cxx.so
47 CAT="libs|libraries for C++ support"
48 DEPENDS="glibc-base"
49 ;;
50 db-dev)
51 copy @dev
52 DEPENDS="db libdb libdb-cxx"
53 ;;
54 esac
55 }