From 8b63b46fda85d54cfbe94df2444a3ddd3e63b8e4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 30 Mar 2023 16:00:34 +0100 Subject: gentoo auto-resync : 30:03:2023 - 16:00:34 --- dev-libs/libfastjson/libfastjson-0.99.9.1.ebuild | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 dev-libs/libfastjson/libfastjson-0.99.9.1.ebuild (limited to 'dev-libs/libfastjson/libfastjson-0.99.9.1.ebuild') diff --git a/dev-libs/libfastjson/libfastjson-0.99.9.1.ebuild b/dev-libs/libfastjson/libfastjson-0.99.9.1.ebuild new file mode 100644 index 000000000000..67b402d40b7a --- /dev/null +++ b/dev-libs/libfastjson/libfastjson-0.99.9.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Fork of the json-c library, which is optimized for liblognorm processing" +HOMEPAGE="https://www.rsyslog.com/tag/libfastjson/" +SRC_URI="https://github.com/rsyslog/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0/4.3.0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86" +IUSE="static-libs" + +BDEPEND=">=sys-devel/autoconf-archive-2015.02.04" + +DOCS=( AUTHORS ChangeLog ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local -a myconf=( + $(use_enable static-libs static) + --disable-rdrand + --enable-compile-warnings=yes + ) + econf "${myconf[@]}" +} + +src_install() { + default + + find "${ED}"/usr/lib* -name '*.la' -delete || die +} -- cgit v1.2.3