wok-next view libtdb/receipt @ rev 19921

freeglut: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 18:59:51 2017 +0200 (2017-10-14)
parents f5e828c7da09
children d43bf7aae921
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="slaxemulator@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://tdb.samba.org/"
11 TARBALL="tdb-$VERSION.tar.gz"
12 WGET_URL="https://www.samba.org/ftp/tdb/$TARBALL"
14 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
15 SPLIT="libtdb-python libtdb libtdb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --sysconfdir=/etc/samba \
24 $CONFIGURE_ARGS &&
25 make && make install || return 1
27 cook_pick_docs docs/README web/index.html
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libtdb-python)
35 copy python*/
36 DEPENDS="libtdb python"
37 ;;
38 libtdb)
39 copy @std
40 remove_already_packed
41 DEPENDS="attr"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }