wok-6.x annotate libtdb/receipt @ rev 19879
Add obexd & obexftp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 02 16:56:55 2017 +0200 (2017-04-02) |
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 |