summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-02-01 21:16:29 +0000
committerTim Harder <radhermit@gentoo.org>2013-02-01 21:16:29 +0000
commitd838aad40b71eb7e69f3ba2eaaa24470dea79001 (patch)
treece3337f3c646cbdee21e264bb6db040885429faa /dev-libs/json-c
parentRemove package.mask entry for app-portage/epm (diff)
downloadgentoo-2-d838aad40b71eb7e69f3ba2eaaa24470dea79001.tar.gz
gentoo-2-d838aad40b71eb7e69f3ba2eaaa24470dea79001.tar.bz2
gentoo-2-d838aad40b71eb7e69f3ba2eaaa24470dea79001.zip
Revision bump to add header directory compatibility symlink for pkgs not using pkgconfig.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-libs/json-c')
-rw-r--r--dev-libs/json-c/ChangeLog8
-rw-r--r--dev-libs/json-c/json-c-0.10-r1.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-libs/json-c/ChangeLog b/dev-libs/json-c/ChangeLog
index cefad5782eb5..2c3c09796cf0 100644
--- a/dev-libs/json-c/ChangeLog
+++ b/dev-libs/json-c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/json-c
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/ChangeLog,v 1.23 2013/01/28 07:58:55 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/ChangeLog,v 1.24 2013/02/01 21:16:29 radhermit Exp $
+
+*json-c-0.10-r1 (01 Feb 2013)
+
+ 01 Feb 2013; Tim Harder <radhermit@gentoo.org> +json-c-0.10-r1.ebuild:
+ Revision bump to add header directory compatibility symlink for pkgs not
+ using pkgconfig.
*json-c-0.10 (28 Jan 2013)
diff --git a/dev-libs/json-c/json-c-0.10-r1.ebuild b/dev-libs/json-c/json-c-0.10-r1.ebuild
new file mode 100644
index 000000000000..f3177754ce40
--- /dev/null
+++ b/dev-libs/json-c/json-c-0.10-r1.ebuild
@@ -0,0 +1,41 @@
+# 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.10-r1.ebuild,v 1.1 2013/02/01 21:16:29 radhermit Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils
+
+DESCRIPTION="A JSON implementation in C"
+HOMEPAGE="https://github.com/json-c/json-c/wiki"
+SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc static-libs"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-flags.patch
+
+ # bug 452234
+ "${FILESDIR}"/${P}-headers.patch
+ )
+
+# tests break otherwise
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_test() {
+ export USE_VALGRIND=0 VERBOSE=1
+ autotools-utils_src_test
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${S}"/doc/html )
+ autotools-utils_src_install
+
+ # add symlink for projects not using pkgconfig
+ dosym ../json-c /usr/include/json-c/json
+}