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

Diff of /sys-libs/tdb/tdb-1.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/Attic/tdb-1.2.1.ebuild,v 1.8 2010/08/12 01:14:43 josejx Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/Attic/tdb-1.2.1.ebuild,v 1.9 2011/04/01 15:04:52 vostorga Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6PYTHON_DEPEND="python? 2:2.6"
7inherit autotools python 7inherit autotools python
8 8
9DESCRIPTION="Samba tdb" 9DESCRIPTION="Samba tdb"
10HOMEPAGE="http://tdb.samba.org/" 10HOMEPAGE="http://tdb.samba.org/"
11SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz" 11SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
12LICENSE="GPL-3" 12LICENSE="GPL-3"
13SLOT="0" 13SLOT="0"
14KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" 14KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
15IUSE="python static-libs tools tdbtest" 15IUSE="python static-libs tools tdbtest"
16 16
17RDEPEND="" 17RDEPEND="!!<sys-libs/tdb-1.2.1"
18DEPEND="python? ( dev-lang/python ) 18DEPEND="python? ( dev-lang/python )
19 !<net-fs/samba-libs-3.4 19 !<net-fs/samba-libs-3.4
20 !<net-fs/samba-3.3 20 !<net-fs/samba-3.3
21 app-text/docbook-xsl-stylesheets 21 app-text/docbook-xsl-stylesheets
22 dev-libs/libxslt" 22 dev-libs/libxslt"
23
24pkg_setup() {
25 if use python; then
26 # Make sure the build system will use the right python bug #360033
27 python_set_active_version 2
28 python_pkg_setup
29 fi
30}
23 31
24src_prepare() { 32src_prepare() {
25 eautoconf -Ilibreplace 33 eautoconf -Ilibreplace
26 sed -i \ 34 sed -i \
27 -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \ 35 -e 's:$(SHLD_FLAGS) :$(SHLD_FLAGS) $(LDFLAGS) :' \

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20