diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-02-18 11:28:56 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-02-18 11:28:56 +0000 |
commit | 31c96e6d2d7a6abecd469a122826ded662647d9a (patch) | |
tree | d18a8d0467363cde3726a5b29c77fd8cd203302f /dev-libs/json-c | |
parent | Version bump. Thanks to Ben Kohler <bkohler@gmail.com> for the ebuild. Bug #3... (diff) | |
download | gentoo-2-31c96e6d2d7a6abecd469a122826ded662647d9a.tar.gz gentoo-2-31c96e6d2d7a6abecd469a122826ded662647d9a.tar.bz2 gentoo-2-31c96e6d2d7a6abecd469a122826ded662647d9a.zip |
Ebuild cleanup. Thanks to Agostino Sarubbo. Bug #403381
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/json-c')
-rw-r--r-- | dev-libs/json-c/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/json-c/json-c-0.9-r1.ebuild | 26 |
2 files changed, 32 insertions, 1 deletions
diff --git a/dev-libs/json-c/ChangeLog b/dev-libs/json-c/ChangeLog index 1dc6dd563fca..47c82627483d 100644 --- a/dev-libs/json-c/ChangeLog +++ b/dev-libs/json-c/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/json-c # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/ChangeLog,v 1.11 2012/02/17 19:49:15 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/ChangeLog,v 1.12 2012/02/18 11:28:56 hwoarang Exp $ + +*json-c-0.9-r1 (18 Feb 2012) + + 18 Feb 2012; Markos Chandras <hwoarang@gentoo.org> +json-c-0.9-r1.ebuild: + Ebuild cleanup. Thanks to Agostino Sarubbo. Bug #403381 17 Feb 2012; Agostino Sarubbo <ago@gentoo.org> json-c-0.9.ebuild: Stable for amd64, wrt bug #403305 diff --git a/dev-libs/json-c/json-c-0.9-r1.ebuild b/dev-libs/json-c/json-c-0.9-r1.ebuild new file mode 100644 index 000000000000..1171acea640a --- /dev/null +++ b/dev-libs/json-c/json-c-0.9-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2012 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.1 2012/02/18 11:28:56 hwoarang 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 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="static-libs" + +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; } +} |