wok-next view libtdb/receipt @ rev 17938

Up to latest: tazinst-gui, tazinst, tazpanel, tazpkg, tazlito
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 15 09:36:43 2015 +0200 (2015-04-15)
parents 5c4ed10b36e4
children 2e9df1b30cc2
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 LICENSE="LGPL3"
9 SOURCE="tdb"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://tdb.samba.org/"
12 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
22 # Use system docbook.xsl
23 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
24 #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
25 ./configure && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/local/lib/*.so* $fs/usr/lib
33 }