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

Collapse All | Expand All

(-)file_not_specified_in_diff (-12 / +27 lines)
Line  Link Here
0
-- json-c-0.9-r1.ebuild
0
++ json-c-0.10.ebuild
Lines 1-26 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/json-c/json-c-0.9-r1.ebuild,v 1.8 2012/09/30 18:14:18 armin76 Exp $
3
# $Header: $
4
4
5
EAPI="4"
5
EAPI="5"
6
7
inherit eutils autotools
6
8
7
DESCRIPTION="A JSON implementation in C"
9
DESCRIPTION="A JSON implementation in C"
8
HOMEPAGE="http://oss.metaparadigm.com/json-c/"
10
HOMEPAGE="https://github.com/json-c/json-c/wiki"
9
SRC_URI="http://oss.metaparadigm.com/${PN}/${P}.tar.gz"
11
SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
10
12
11
LICENSE="MIT"
13
LICENSE="MIT"
12
SLOT="0"
14
SLOT="0/0"
13
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
14
IUSE="static-libs"
16
IUSE="doc static-libs"
17
18
src_prepare() {
19
	epatch "${FILESDIR}"/${P}-flags.patch
15
20
16
DOCS=( README )
21
	# bug 452234
22
	epatch "${FILESDIR}"/${P}-headers.patch
23
24
	eautoreconf
25
}
17
26
18
src_configure() {
27
src_configure() {
19
	econf $(use_enable static-libs static)
28
	econf $(use_enable static-libs static)
20
}
29
}
21
30
31
src_test() {
32
	USE_VALGRIND=0 emake check
33
}
34
22
src_install() {
35
src_install() {
23
	default
36
	default
24
	dohtml README.html || die "dohtml failed"
37
25
	use static-libs || { find "${ED}" -name '*.la' -exec rm {} + || die; }
38
	use doc && dohtml -r doc/html/*
39
40
	prune_libtool_files
26
}
41
}

Return to bug 454372