wok-4.x annotate libtdb/receipt @ rev 12362
Added DBD::SQlite
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Thu Dec 20 10:07:42 2012 +0200 (2012-12-20) |
parents | bade0ab487ab |
children |
rev | line source |
---|---|
slaxemulator@9162 | 1 # SliTaz package receipt. |
slaxemulator@9162 | 2 |
slaxemulator@9162 | 3 PACKAGE="libtdb" |
slaxemulator@10202 | 4 VERSION="1.2.9" |
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 |
pascal@10509 | 31 cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib |
slaxemulator@9162 | 32 } |
slaxemulator@9162 | 33 |