wok-current view libtdb/receipt @ rev 13737

xscavenger, xdigger: add menu entry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 26 11:05:26 2012 +0100 (2012-12-26)
parents bade0ab487ab
children 5c4ed10b36e4
line source
1 # SliTaz package receipt.
3 PACKAGE="libtdb"
4 VERSION="1.2.9"
5 CATEGORY="misc"
6 SHORT_DESC="A Trivia Database similar to GDBM but allows simultaneous commits"
7 MAINTAINER="slaxemulator@gmail.com"
8 SOURCE="tdb"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://tdb.samba.org/"
11 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
21 # Use system docbook.xsl
22 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
23 sed -i "s#http.*xsl#$_manstyle#" tdb.mk
24 ./configure && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib
32 }