mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-02 11:01:14 +02:00
dev-libs/jansson: Import from Gentoo
This commit is contained in:
parent
4ef02eb401
commit
612735eced
2
sdk_container/src/third_party/portage-stable/dev-libs/jansson/Manifest
vendored
Normal file
2
sdk_container/src/third_party/portage-stable/dev-libs/jansson/Manifest
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
DIST jansson-2.12.tar.gz 489154 BLAKE2B cf6bc6d03daba921ec5e033bf57ff0055741cc935adb14d5d4a5f04056fa93c292bf88367db071ef7bb32fbc5d2d6f5f2ce658815a17939bd38ed5c0676ad091 SHA512 e40bdafdfa1fa663f71e00c06d7bfc98cff4ed3581a147894e5272e50fa5f9b9a7af6aaca41ff423a2ddd2554a192b36efcc32f6a3c98c727e9f819b955357cb
|
||||
DIST jansson-2.13.1.tar.gz 531924 BLAKE2B e627bd2ba69bf01b053ff13dee903056db86999f774d6863517e67cef7dc9ddcaa747f2edca9de86bd83f37940a394ac9907f7d58069607ee529af08d8514d57 SHA512 e32be6665e41cf1763608c2f1ac4ce0824d4d7ffa5f4a5824cefde279250fdd399d49ba93d8894e16a473731f629b846554654347f027ca9a0a96ed047f10192
|
37
sdk_container/src/third_party/portage-stable/dev-libs/jansson/jansson-2.12.ebuild
vendored
Normal file
37
sdk_container/src/third_party/portage-stable/dev-libs/jansson/jansson-2.12.ebuild
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
|
||||
HOMEPAGE="http://www.digip.org/jansson/"
|
||||
SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
BDEPEND="doc? ( <dev-python/sphinx-3.0.0 )"
|
||||
RDEPEND=""
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc ; then
|
||||
emake html
|
||||
HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
37
sdk_container/src/third_party/portage-stable/dev-libs/jansson/jansson-2.13.1.ebuild
vendored
Normal file
37
sdk_container/src/third_party/portage-stable/dev-libs/jansson/jansson-2.13.1.ebuild
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
|
||||
HOMEPAGE="https://www.digip.org/jansson/"
|
||||
SRC_URI="https://www.digip.org/jansson/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
# dev-libs/jansson-2.13.1[doc]: fails to build with >=sphinx-3.0, #731668
|
||||
BDEPEND="doc? ( <dev-python/sphinx-3.0.0 )"
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc ; then
|
||||
emake html
|
||||
HTML_DOCS=( "${BUILD_DIR}"/doc/_build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
12
sdk_container/src/third_party/portage-stable/dev-libs/jansson/metadata.xml
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/dev-libs/jansson/metadata.xml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zero-one@zer0-one.net</email>
|
||||
<name>David Zero</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user