wok-6.x view libtdb/receipt @ rev 14450
Up: geany* (1.23)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:42:11 2013 +0200 (2013-04-27) |
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 }