wok-next view db/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 0e7893ac206d |
children | 4d9f82dabdbb |
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
14 SPLIT="libdb libdb-cxx $PACKAGE-dev"
16 compile_rules() {
17 cd $src/build_unix
18 ../dist/configure \
19 --enable-cxx \
20 --enable-compat185 \
21 --enable-dbm \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make docdir=/usr/share/doc/$PACKAGE-$VERSION install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 db)
31 copy bin/
32 DEPENDS="libdb"
33 TAGS="database"
34 ;;
35 libdb)
36 copy libdb-*so libdb.so
37 CAT="libs|libraries"
38 DEPENDS="glibc-base"
39 ;;
40 libdb-cxx)
41 copy libdb_cxx-*so libdb_cxx.so
42 CAT="libs|libraries for C++ support"
43 DEPENDS="glibc-base"
44 ;;
45 db-dev)
46 copy @dev
47 DEPENDS="db libdb libdb-cxx"
48 ;;
49 esac
50 }