wok diff libtdb/receipt @ rev 9974

linux: FIX config files (they was missing config and still i486 config)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 18 19:11:35 2011 +0200 (2011-05-18)
parents
children 36ca711fae73
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libtdb/receipt	Wed May 18 19:11:35 2011 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libtdb"
     1.7 +VERSION="1.2.1"
     1.8 +CATEGORY="misc"
     1.9 +SNORT_DEST="A Trivia Database similar to GDBM but allows simultaneous commits"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
    1.13 +SOURCE="tdb"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://tdb.samba.org/"
    1.16 +WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
    1.23 +	# Use system docbook.xsl
    1.24 +	_manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
    1.25 +	sed -i "s#http.*xsl#$_manstyle#" tdb.mk
    1.26 +
    1.27 +	./configure && make && make install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.35 +}
    1.36 +