Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 491222
Collapse All | Expand All

(-)talloc-2.1.0.ebuild (-4 / +17 lines)
Lines 1-15 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2013 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/talloc/talloc-2.1.0.ebuild,v 1.2 2013/12/11 02:03:57 jmbsvicetto Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/talloc-2.1.0.ebuild,v 1.2 2013/12/11 02:03:57 jmbsvicetto Exp $
4
4
5
EAPI=5
5
EAPI=5
6
6
7
PYTHON_COMPAT=( python{2_6,2_7} )
7
PYTHON_COMPAT=( python{2_6,2_7} )
8
PYTHON_REQ_USE="threads"
8
PYTHON_REQ_USE="threads"
9
9
10
inherit waf-utils python-single-r1 multilib
10
inherit waf-utils python-single-r1 multilib multilib-minimal
11
11
12
DESCRIPTION="Samba talloc library"
12
DESCRIPTION="Samba talloc library"
13
HOMEPAGE="http://talloc.samba.org/"
13
HOMEPAGE="http://talloc.samba.org/"
14
SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
14
SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
15
15
Lines 26-45 Link Here
26
	dev-libs/libxslt
26
	dev-libs/libxslt
27
	|| ( dev-lang/python:2.7[threads] dev-lang/python:2.6[threads] )"
27
	|| ( dev-lang/python:2.7[threads] dev-lang/python:2.6[threads] )"
28
28
29
WAF_BINARY="${S}/buildtools/bin/waf"
29
WAF_BINARY="${S}/buildtools/bin/waf"
30
30
31
src_configure() {
31
MULTILIB_WRAPPED_HEADERS=(
32
/usr/include/talloc.h
33
/usr/include/pytalloc.h
34
)
35
36
src_prepare() {
37
	multilib_copy_sources
38
}
39
40
multilib_src_configure() {
32
	local extra_opts=""
41
	local extra_opts=""
33
42
34
	use compat && extra_opts+=" --enable-talloc-compat1"
43
	use compat && extra_opts+=" --enable-talloc-compat1"
35
	use python || extra_opts+=" --disable-python"
44
	use python || extra_opts+=" --disable-python"
36
	waf-utils_src_configure \
45
	waf-utils_src_configure \
37
		${extra_opts}
46
		${extra_opts}
38
}
47
}
39
48
40
src_install() {
49
multilib_src_compile() {
50
	waf-utils_src_compile
51
}
52
53
multilib_src_install() {
41
	waf-utils_src_install
54
	waf-utils_src_install
42
55
43
	# waf is stupid, and no, we can't fix the build-system, since it's provided
56
	# waf is stupid, and no, we can't fix the build-system, since it's provided
44
	# as a brilliant binary blob thats decompressed on the fly
57
	# as a brilliant binary blob thats decompressed on the fly
45
	if [[ ${CHOST} == *-darwin* ]] ; then
58
	if [[ ${CHOST} == *-darwin* ]] ; then

Return to bug 491222