wok view libtdb/receipt @ rev 9765

GConf: Fix BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 15:43:53 2011 +0200 (2011-05-11)
parents
children 36ca711fae73
line source
1 # SliTaz package receipt.
3 PACKAGE="libtdb"
4 VERSION="1.2.1"
5 CATEGORY="misc"
6 SNORT_DEST="A Trivia Database similar to GDBM but allows simultaneous commits"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS=""
9 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
10 SOURCE="tdb"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://tdb.samba.org/"
13 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
20 # Use system docbook.xsl
21 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
22 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 }