wok view libtdb/receipt @ rev 9861

php: try to fix again
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 18:10:27 2011 +0200 (2011-05-16)
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 }