summaryrefslogtreecommitdiff
path: root/dev-libs/json-c/json-c-0.12.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-08-30 23:33:16 +0000
committerSam James <sam@gentoo.org>2020-08-30 23:33:16 +0000
commit64b400382afdbff8b60d4f9726ffd3bcee6e628e (patch)
tree92dc7bd872e46d67c9e4688e2bc7c9438772cbc9 /dev-libs/json-c/json-c-0.12.ebuild
parentd4a8caa8bf12a0b1feaf9173015c3ee5273324af (diff)
downloadgentoo-64b400382afdbff8b60d4f9726ffd3bcee6e628e.tar.gz
gentoo-64b400382afdbff8b60d4f9726ffd3bcee6e628e.tar.bz2
gentoo-64b400382afdbff8b60d4f9726ffd3bcee6e628e.zip
dev-libs/json-c: security cleanup
Closes: https://bugs.gentoo.org/722150 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/json-c/json-c-0.12.ebuild')
-rw-r--r--dev-libs/json-c/json-c-0.12.ebuild40
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-libs/json-c/json-c-0.12.ebuild b/dev-libs/json-c/json-c-0.12.ebuild
deleted file mode 100644
index 18e4b3cc8a55..000000000000
--- a/dev-libs/json-c/json-c-0.12.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-multilib
-
-DESCRIPTION="A JSON implementation in C"
-HOMEPAGE="https://github.com/json-c/json-c/wiki"
-SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc static-libs"
-
-RDEPEND=""
-
-# tests break otherwise
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-src_prepare() {
- sed -i -e "s:-Werror::" Makefile.am.inc || die
- autotools-multilib_src_prepare
-}
-
-src_test() {
- export USE_VALGRIND=0 VERBOSE=1
- autotools-multilib_src_test
-}
-
-src_install() {
- use doc && HTML_DOCS=( "${S}"/doc/html )
- autotools-multilib_src_install
-
- # add symlink for projects not using pkgconfig
- dosym ../json-c /usr/include/json-c/json
-}