wok annotate libtdb/receipt @ rev 9519

Up: xorg-xrdb to 1.0.9.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 07 07:07:01 2011 +0000 (2011-04-07)
parents
children 36ca711fae73
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"
slaxemulator@9162 6 SNORT_DEST="A Trivia Database similar to GDBM but allows simultaneous commits"
slaxemulator@9162 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9162 8 DEPENDS=""
slaxemulator@9162 9 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
slaxemulator@9162 10 SOURCE="tdb"
slaxemulator@9162 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@9162 12 WEB_SITE="http://tdb.samba.org/"
slaxemulator@9162 13 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
slaxemulator@9162 14
slaxemulator@9162 15 # Rules to configure and make the package.
slaxemulator@9162 16 compile_rules()
slaxemulator@9162 17 {
slaxemulator@9162 18 cd $src
slaxemulator@9162 19 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
slaxemulator@9162 20 # Use system docbook.xsl
slaxemulator@9162 21 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
slaxemulator@9162 22 sed -i "s#http.*xsl#$_manstyle#" tdb.mk
slaxemulator@9162 23
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