wok-current annotate libtdb/receipt @ rev 20566
tcc: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 23:37:24 2018 +0100 (2018-12-12) |
parents | 5c4ed10b36e4 |
children | d00b342c54b5 |
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" |
pascal@15252 | 8 LICENSE="LGPL3" |
slaxemulator@9162 | 9 SOURCE="tdb" |
slaxemulator@9162 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9162 | 11 WEB_SITE="http://tdb.samba.org/" |
slaxemulator@9162 | 12 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL" |
slaxemulator@9162 | 13 |
pankso@9990 | 14 DEPENDS="" |
pankso@9990 | 15 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl" |
pankso@9990 | 16 |
slaxemulator@9162 | 17 # Rules to configure and make the package. |
slaxemulator@9162 | 18 compile_rules() |
slaxemulator@9162 | 19 { |
slaxemulator@9162 | 20 cd $src |
slaxemulator@9162 | 21 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure |
slaxemulator@9162 | 22 # Use system docbook.xsl |
slaxemulator@9162 | 23 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl" |
pascal@15111 | 24 #sed -i "s#http.*xsl#$_manstyle#" tdb.mk |
slaxemulator@9162 | 25 ./configure && make && make install |
slaxemulator@9162 | 26 } |
slaxemulator@9162 | 27 |
slaxemulator@9162 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9162 | 29 genpkg_rules() |
slaxemulator@9162 | 30 { |
slaxemulator@9162 | 31 mkdir -p $fs/usr/lib |
pascal@15111 | 32 cp -a $install/usr/local/lib/*.so* $fs/usr/lib |
slaxemulator@9162 | 33 } |
slaxemulator@9162 | 34 |