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

ncmpcpp/receipt, remind/receipt, tiptop/receipt, tmux-mem-cpu-load/receipt: update user config file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 24 21:21:42 2014 +0200 (2014-08-24)
parents 5c4ed10b36e4
children d00b342c54b5
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 }