wok-6.x view libtdb/receipt @ rev 10234

Up: mesa to 7.10.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 00:34:13 2011 +0000 (2011-05-21)
parents 36ca711fae73
children c5465927b7c1
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/lib/*.so* $fs/usr/lib
32 }