wok-stable view libtdb/receipt @ rev 12449

lighttpd, mutt: update CONFIG_FILES (thanks emgi)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 08 13:07:27 2015 +0100 (2015-02-08)
parents bade0ab487ab
children
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 }