wok-next view db/receipt @ rev 20732
Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 17:01:41 2018 +0300 (2018-05-29) |
parents | 9a5b17ddcfcb |
children | d5aab818505e |
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 db-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 }