/[gentoo-x86]/sys-libs/tdb/tdb-1.2.9.ebuild
Gentoo

Contents of /sys-libs/tdb/tdb-1.2.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jul 7 04:30:21 2011 UTC (6 years, 3 months ago) by aballier
Branch: MAIN
Changes since 1.2: +2 -2 lines
keyword ~x86-fbsd

(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.9.ebuild,v 1.2 2011/06/27 20:11:47 vostorga Exp $
4
5 EAPI=3
6 PYTHON_DEPEND="python? 2"
7
8 inherit waf-utils python
9
10 DESCRIPTION="A simple database API"
11 HOMEPAGE="http://tdb.samba.org/"
12 SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
17 IUSE="python"
18
19 RDEPEND=""
20 DEPEND="dev-lang/python
21 app-text/docbook-xml-dtd:4.2"
22
23 WAF_BINARY="${S}/buildtools/bin/waf"
24
25 pkg_setup() {
26 if use python; then
27 python_set_active_version 2
28 python_pkg_setup
29 fi
30 }
31
32 src_configure() {
33 local extra_opts=""
34 use python || extra_opts+=" --disable-python"
35 waf-utils_src_configure \
36 ${extra_opts}
37 }
38
39 src_test() {
40 # the default src_test runs 'make test' and 'make check', letting
41 # the tests fail occasionally (reason: unknown)
42 emake check || die "emake check failed"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20