wok-next diff libtdb/receipt @ rev 9177

Up: spidermonkey (0.1.8-rc1)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Mar 09 00:02:19 2011 +0000 (2011-03-09)
parents
children 36ca711fae73
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libtdb/receipt	Wed Mar 09 00:02:19 2011 +0000
     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 +