wok-next annotate libtdb/receipt @ rev 10122

merge
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 22:15:25 2011 +0200 (2011-05-20)
parents b21192024406
children bade0ab487ab
rev   line source
slaxemulator@9162 1 # SliTaz package receipt.
slaxemulator@9162 2
slaxemulator@9162 3 PACKAGE="libtdb"
slaxemulator@9162 4 VERSION="1.2.1"
slaxemulator@9162 5 CATEGORY="misc"
pankso@9990 6 SHORT_DESC="A Trivia Database similar to GDBM but allows simultaneous commits"
slaxemulator@9162 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9162 8 SOURCE="tdb"
slaxemulator@9162 9 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@9162 10 WEB_SITE="http://tdb.samba.org/"
slaxemulator@9162 11 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
slaxemulator@9162 12
pankso@9990 13 DEPENDS=""
pankso@9990 14 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
pankso@9990 15
slaxemulator@9162 16 # Rules to configure and make the package.
slaxemulator@9162 17 compile_rules()
slaxemulator@9162 18 {
slaxemulator@9162 19 cd $src
slaxemulator@9162 20 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
slaxemulator@9162 21 # Use system docbook.xsl
slaxemulator@9162 22 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
slaxemulator@9162 23 sed -i "s#http.*xsl#$_manstyle#" tdb.mk
slaxemulator@9162 24 ./configure && make && make install
slaxemulator@9162 25 }
slaxemulator@9162 26
slaxemulator@9162 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9162 28 genpkg_rules()
slaxemulator@9162 29 {
slaxemulator@9162 30 mkdir -p $fs/usr/lib
slaxemulator@9162 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@9162 32 }
slaxemulator@9162 33