wok-next view db/receipt @ rev 21592
updated dkms (2.1.1.2 -> 2.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:35:54 2020 +0100 (2020-06-24) |
parents | 4d9f82dabdbb |
children |
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 COOKOPTS="force-arch" # different .h
18 SPLIT="libdb libdb-cxx $PACKAGE-dev"
20 COPY_std="bin/"
21 COPY_libdb="libdb-*so libdb.so"
22 COPY_libdb_cxx="libdb_cxx-*so libdb_cxx.so"
24 DEPENDS_std="libdb"
25 DEPENDS_libdb="glibc-base"
26 DEPENDS_libdb_cxx="glibc-base"
27 DEPENDS_dev="db libdb libdb-cxx"
29 CAT_libdb="libs|libraries"
30 CAT_libdb_cxx="libs|libraries for C++ support"
32 TAGS_std="database"
34 compile_rules() {
35 cd $src/build_unix
36 ../dist/configure \
37 --enable-cxx \
38 --enable-compat185 \
39 --enable-dbm \
40 --disable-static \
41 $CONFIGURE_ARGS &&
42 make &&
43 make docdir=/usr/share/doc/$PACKAGE-$VERSION install || return 1
45 find $install -type f -exec chmod u+w '{}' \; # 444->644, 555->755
46 find $install -type d -exec chmod g-w '{}' \; # 775->755
47 chown -R 0:0 $install
48 }