wok-next annotate libtdb/receipt @ rev 19867

Up mplayer-cli (1.3.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Sep 27 16:49:12 2017 +0200 (2017-09-27)
parents f5e828c7da09
children d43bf7aae921
rev   line source
al@19850 1 # SliTaz package receipt v2.
slaxemulator@9162 2
slaxemulator@9162 3 PACKAGE="libtdb"
al@19850 4 VERSION="1.3.15"
slaxemulator@9162 5 CATEGORY="misc"
al@19850 6 SHORT_DESC="A trivial database"
slaxemulator@9162 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15252 8 LICENSE="LGPL3"
al@19850 9 WEB_SITE="https://tdb.samba.org/"
slaxemulator@9162 10
al@19850 11 TARBALL="tdb-$VERSION.tar.gz"
al@19850 12 WGET_URL="https://www.samba.org/ftp/tdb/$TARBALL"
al@19850 13
pankso@9990 14 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
al@19850 15 SPLIT="libtdb-python libtdb libtdb-dev"
pankso@9990 16
slaxemulator@9162 17 # Rules to configure and make the package.
slaxemulator@9162 18 compile_rules()
slaxemulator@9162 19 {
al@19850 20 ./configure \
al@19850 21 --prefix=/usr \
al@19850 22 --localstatedir=/var \
al@19850 23 --sysconfdir=/etc/samba \
al@19850 24 $CONFIGURE_ARGS &&
al@19850 25 make && make install || return 1
al@19850 26
al@19850 27 cook_pick_docs docs/README web/index.html
slaxemulator@9162 28 }
slaxemulator@9162 29
slaxemulator@9162 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9162 31 genpkg_rules()
slaxemulator@9162 32 {
al@19850 33 case $PACKAGE in
al@19850 34 libtdb-python)
al@19850 35 copy python*/
al@19850 36 DEPENDS="libtdb python"
al@19850 37 ;;
al@19850 38 libtdb)
al@19850 39 copy @std
al@19850 40 remove_already_packed
al@19850 41 DEPENDS="attr"
al@19850 42 ;;
al@19850 43 *-dev)
al@19850 44 copy @dev
al@19850 45 ;;
al@19850 46 esac
slaxemulator@9162 47 }