wok-6.x annotate libtdb/receipt @ rev 24837
updated libtdb and libtdb-dev (1.4.3 -> 1.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 07:38:22 2022 +0100 (2022-03-25) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
slaxemulator@9162 | 1 # SliTaz package receipt. |
slaxemulator@9162 | 2 |
slaxemulator@9162 | 3 PACKAGE="libtdb" |
Hans-G?nter@24837 | 4 VERSION="1.4.5" |
slaxemulator@9162 | 5 CATEGORY="misc" |
Hans-G?nter@23108 | 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" |
Hans-G?nter@23108 | 9 WEB_SITE="https://tdb.samba.org/" |
Hans-G?nter@24837 | 10 REPOLOGY="tdb" |
Hans-G?nter@23108 | 11 |
slaxemulator@9162 | 12 SOURCE="tdb" |
slaxemulator@9162 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23108 | 14 WGET_URL="https://www.samba.org/ftp/$SOURCE/$TARBALL" |
slaxemulator@9162 | 15 |
pankso@9990 | 16 DEPENDS="" |
Hans-G?nter@23108 | 17 BUILD_DEPENDS="docbook-xsl libxslt-dev py3k-dev" |
pankso@9990 | 18 |
pascal@24447 | 19 # What is the latest version available today? |
pascal@24447 | 20 current_version() |
pascal@24447 | 21 { |
pascal@24447 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 24 } |
pascal@24447 | 25 |
slaxemulator@9162 | 26 # Rules to configure and make the package. |
slaxemulator@9162 | 27 compile_rules() |
slaxemulator@9162 | 28 { |
Hans-G?nter@23108 | 29 # 1.4.3 uses python3 |
Hans-G?nter@23108 | 30 # sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure |
slaxemulator@9162 | 31 # Use system docbook.xsl |
slaxemulator@9162 | 32 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl" |
pascal@15111 | 33 #sed -i "s#http.*xsl#$_manstyle#" tdb.mk |
Hans-G?nter@23108 | 34 |
Hans-G?nter@24837 | 35 ./configure \ |
Hans-G?nter@24837 | 36 --prefix=/usr && |
Hans-G?nter@23108 | 37 make && |
Hans-G?nter@23108 | 38 make install |
slaxemulator@9162 | 39 } |
slaxemulator@9162 | 40 |
slaxemulator@9162 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9162 | 42 genpkg_rules() |
slaxemulator@9162 | 43 { |
slaxemulator@9162 | 44 mkdir -p $fs/usr/lib |
Hans-G?nter@24837 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@9162 | 46 } |