wok-current view libtdb/receipt @ rev 13352

Add perl-io-tty, perl-io-stty, perl-number-range, perl-expect, perl-algorithm-permute
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 10 09:49:31 2012 +0200 (2012-09-10)
parents bade0ab487ab
children 5c4ed10b36e4
line source
1 # SliTaz package receipt.
3 PACKAGE="libtdb"
4 VERSION="1.2.9"
5 CATEGORY="misc"
6 SHORT_DESC="A Trivia Database similar to GDBM but allows simultaneous commits"
7 MAINTAINER="slaxemulator@gmail.com"
8 SOURCE="tdb"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://tdb.samba.org/"
11 WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure
21 # Use system docbook.xsl
22 _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
23 sed -i "s#http.*xsl#$_manstyle#" tdb.mk
24 ./configure && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib
32 }