wok-next view libtdb/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 df20b2110f7e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtdb"
4 VERSION="1.3.15"
5 CATEGORY="misc"
6 SHORT_DESC="A trivial database"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://tdb.samba.org/"
10 REPOLOGY="tdb"
12 TARBALL="tdb-$VERSION.tar.gz"
13 WGET_URL="https://www.samba.org/ftp/tdb/$TARBALL"
15 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 # site script isn't used
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --sysconfdir=/etc/samba \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install || return 1
28 cook_pick_docs docs/README web/index.html
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libtdb-python)
34 copy python*/
35 DEPENDS="libtdb python"
36 ;;
37 libtdb)
38 copy @std @rm
39 DEPENDS="attr"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }