wok-next diff libtdb/receipt @ rev 19865
slitaz-base-files: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 03:41:56 2017 +0300 (2017-09-12) |
parents | f5e828c7da09 |
children | d43bf7aae921 |
line diff
1.1 --- a/libtdb/receipt Mon Sep 23 18:45:04 2013 +0000 1.2 +++ b/libtdb/receipt Tue Sep 12 03:41:56 2017 +0300 1.3 @@ -1,34 +1,47 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libtdb" 1.8 -VERSION="1.2.9" 1.9 +VERSION="1.3.15" 1.10 CATEGORY="misc" 1.11 -SHORT_DESC="A Trivia Database similar to GDBM but allows simultaneous commits" 1.12 +SHORT_DESC="A trivial database" 1.13 MAINTAINER="slaxemulator@gmail.com" 1.14 LICENSE="LGPL3" 1.15 -SOURCE="tdb" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://tdb.samba.org/" 1.18 -WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL" 1.19 +WEB_SITE="https://tdb.samba.org/" 1.20 1.21 -DEPENDS="" 1.22 +TARBALL="tdb-$VERSION.tar.gz" 1.23 +WGET_URL="https://www.samba.org/ftp/tdb/$TARBALL" 1.24 + 1.25 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl" 1.26 +SPLIT="libtdb-python libtdb libtdb-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - cd $src 1.32 - sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure 1.33 - # Use system docbook.xsl 1.34 - _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl" 1.35 - #sed -i "s#http.*xsl#$_manstyle#" tdb.mk 1.36 - ./configure && make && make install 1.37 + ./configure \ 1.38 + --prefix=/usr \ 1.39 + --localstatedir=/var \ 1.40 + --sysconfdir=/etc/samba \ 1.41 + $CONFIGURE_ARGS && 1.42 + make && make install || return 1 1.43 + 1.44 + cook_pick_docs docs/README web/index.html 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/lib 1.51 - cp -a $install/usr/local/lib/*.so* $fs/usr/lib 1.52 + case $PACKAGE in 1.53 + libtdb-python) 1.54 + copy python*/ 1.55 + DEPENDS="libtdb python" 1.56 + ;; 1.57 + libtdb) 1.58 + copy @std 1.59 + remove_already_packed 1.60 + DEPENDS="attr" 1.61 + ;; 1.62 + *-dev) 1.63 + copy @dev 1.64 + ;; 1.65 + esac 1.66 } 1.67 -