wok-6.x view libtdb/receipt @ rev 24611
updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 09:32:37 2022 +0100 (2022-03-04) |
parents | d00b342c54b5 |
children | 4ab89f7482b3 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 1.4.3 uses python3
29 # sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
30 # Use system docbook.xsl
31 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
32 #sed -i "s#http.*xsl#$_manstyle#" tdb.mk
34 ./configure &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/local/lib/*.so* $fs/usr/lib
44 }