wok-next view db/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
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 }