blob: e79b2d661939c1c851432cec9521ec6507e7b18a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/json-c-0.9-r1.ebuild,v 1.11 2013/05/09 05:15:10 vapier Exp $
EAPI="4"
DESCRIPTION="A JSON implementation in C"
HOMEPAGE="http://oss.metaparadigm.com/json-c/"
SRC_URI="http://oss.metaparadigm.com/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static-libs"
RDEPEND="!<dev-libs/jsoncpp-0.5.0-r1"
DEPEND=""
DOCS=( README )
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
dohtml README.html || die "dohtml failed"
use static-libs || { find "${ED}" -name '*.la' -exec rm {} + || die; }
}
|