Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 464128 | Differences between
and this patch

Collapse All | Expand All

(-)libconfig-1.4.9.ebuild (-10 / +17 lines)
Lines 1-27 Link Here
1
# Copyright 1999-2012 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/dev-libs/libconfig/libconfig-1.4.9.ebuild,v 1.8 2012/12/30 13:53:41 ago Exp $
3
# $Header: $
4
4
5
EAPI="4"
5
EAPI="5"
6
6
7
inherit eutils
7
inherit eutils autotools-multilib
8
8
9
DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files"
9
DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files"
10
HOMEPAGE="http://www.hyperrealm.com/libconfig/libconfig.html"
10
HOMEPAGE="http://www.hyperrealm.com/libconfig/libconfig.html"
11
SRC_URI="http://www.hyperrealm.com/libconfig/${P}.tar.gz"
11
SRC_URI="http://www.hyperrealm.com/${PN}/${P}.tar.gz"
12
12
13
LICENSE="LGPL-2.1"
13
LICENSE="LGPL-2.1"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="amd64 ~mips ppc ppc64 sparc x86 ~x86-linux"
15
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
16
IUSE="examples static-libs"
16
IUSE="+cxx examples static-libs"
17
17
18
DEPEND="
18
DEPEND="
19
	sys-devel/libtool
19
	sys-devel/libtool
20
	sys-devel/bison"
20
	sys-devel/bison"
21
RDEPEND=""
21
RDEPEND=""
22
22
23
PATCHES=( "${FILESDIR}/${P}-out-of-source-build.patch" )
24
25
AUTOTOOLS_AUTORECONF="1"
26
23
src_configure() {
27
src_configure() {
24
	econf $(use_enable static-libs static) --disable-examples
28
	local myeconfargs=(
29
		$(use_enable cxx)
30
		--disable-examples
31
	)
32
	autotools-multilib_src_configure
25
}
33
}
26
34
27
src_test() {
35
src_test() {
Lines 30-37 Link Here
30
}
38
}
31
39
32
src_install() {
40
src_install() {
33
	default
41
	autotools-multilib_src_install
34
	prune_libtool_files
35
	if use examples; then
42
	if use examples; then
36
		local dir
43
		local dir
37
		for dir in examples/c examples/c++; do
44
		for dir in examples/c examples/c++; do

Return to bug 464128