wok-next view db/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | d5aab818505e |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="db"
4 VERSION="6.2.32"
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 LFS="http://www.linuxfromscratch.org/blfs/view/svn/server/db.html"
11 REPOLOGY="db6"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://download.oracle.com/berkeley-db/$TARBALL"
16 SPLIT="libdb libdb-cxx $PACKAGE-dev"
18 COPY_std="bin/"
19 COPY_libdb="libdb-*so libdb.so"
20 COPY_libdb_cxx="libdb_cxx-*so libdb_cxx.so"
22 DEPENDS_std="libdb"
23 DEPENDS_libdb="glibc-base"
24 DEPENDS_libdb_cxx="glibc-base"
25 DEPENDS_dev="db libdb libdb-cxx"
27 CAT_libdb="libs|libraries"
28 CAT_libdb_cxx="libs|libraries for C++ support"
30 TAGS_std="database"
32 compile_rules() {
33 cd $src/build_unix
34 ../dist/configure \
35 --enable-cxx \
36 --enable-compat185 \
37 --enable-dbm \
38 --disable-static \
39 $CONFIGURE_ARGS &&
40 make &&
41 make docdir=/usr/share/doc/$PACKAGE-$VERSION install || return 1
43 find $install -type f -exec chmod u+w '{}' \; # 444->644, 555->755
44 find $install -type d -exec chmod g-w '{}' \; # 775->755
45 chown -R 0:0 $install
46 }