wok-6.x view libtdb/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | f5e828c7da09 |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtdb"
4 VERSION="1.4.3"
5 CATEGORY="misc"
6 SHORT_DESC="A Trivia Database similar to GDBM but allows simultaneous commits."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://tdb.samba.org/"
11 SOURCE="tdb"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.samba.org/ftp/$SOURCE/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="docbook-xsl libxslt-dev py3k-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # 1.4.3 uses python3
22 # sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
23 # Use system docbook.xsl
24 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
25 #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
27 ./configure &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/local/lib/*.so* $fs/usr/lib
37 }