summaryrefslogtreecommitdiff
path: root/dev-libs/libucl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /dev-libs/libucl
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'dev-libs/libucl')
-rw-r--r--dev-libs/libucl/Manifest4
-rw-r--r--dev-libs/libucl/libucl-0.8.1.ebuild57
-rw-r--r--dev-libs/libucl/libucl-9999.ebuild57
-rw-r--r--dev-libs/libucl/metadata.xml25
4 files changed, 143 insertions, 0 deletions
diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest
new file mode 100644
index 000000000000..19fd855c5175
--- /dev/null
+++ b/dev-libs/libucl/Manifest
@@ -0,0 +1,4 @@
+DIST libucl-0.8.1.tar.gz 2028394 BLAKE2B 18fda317b4b4aed3d6b72c599d191f141bf4722d1c08244deda9c5e77300e2bef7de029889a05d9b4573472928d9d49a797123ac392a4cdd3b690ac277ad673d SHA512 36a059561eadb2dd7253ca22ff56f6a0c6cdd28580e28451c0cf47e1aec321a2e1589fc83ccb2033346f2dbca31a7e6afa9666ea544a0c190b7f80ed0e9f45af
+EBUILD libucl-0.8.1.ebuild 1090 BLAKE2B 2b90c1400c283d42860ee868b4373c7b36bbe79afc187bfb5dd94a4500cf68a2c12485731239e6ff1d75ebb741455a3dcf4a78f09f3de9335a7089e5461f9548 SHA512 167005e215f4ea4335f410cc0ca6c0c60212ad35162e06c8d0fb5cf4e6fdc4aae389458a952e48e04cfd8b3de9ea7cb5944d1639127d16a8e6651b8b0d27906c
+EBUILD libucl-9999.ebuild 1090 BLAKE2B 2b90c1400c283d42860ee868b4373c7b36bbe79afc187bfb5dd94a4500cf68a2c12485731239e6ff1d75ebb741455a3dcf4a78f09f3de9335a7089e5461f9548 SHA512 167005e215f4ea4335f410cc0ca6c0c60212ad35162e06c8d0fb5cf4e6fdc4aae389458a952e48e04cfd8b3de9ea7cb5944d1639127d16a8e6651b8b0d27906c
+MISC metadata.xml 955 BLAKE2B 9bcc770371005f7b55c644a987e100572fc6c044ca38a862c817c1fd135864f1ffeb38b3a053a66bb1819ef0dd38f3a27432152779349f7b2af9528448ecfada SHA512 7742b29ef3cd909660e795a35859924f449dc18000ebdfc414e7620b9bf900112dde4ea053648b9490f45a56972a357c5a9645afcdc04211cfb4c3354fd1b8df
diff --git a/dev-libs/libucl/libucl-0.8.1.ebuild b/dev-libs/libucl/libucl-0.8.1.ebuild
new file mode 100644
index 000000000000..a019e11cbc80
--- /dev/null
+++ b/dev-libs/libucl/libucl-0.8.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Universal configuration library parser"
+HOMEPAGE="https://github.com/vstakhov/libucl"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/vstakhov/libucl.git"
+else
+ SRC_URI="https://github.com/vstakhov/libucl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+IUSE="lua +regex sign urls +utils static"
+
+DEPEND="!!dev-libs/ucl
+ lua? ( >=dev-lang/lua-5.1:= )
+ urls? ( net-misc/curl )
+ sign? ( dev-libs/openssl:0 )
+"
+BDEPEND="${DEPEND}
+ virtual/pkgconfig
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md doc/api.md )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ "$(use_enable lua)"
+ "$(use_enable regex)"
+ "$(use_enable sign signatures)"
+ "$(use_enable urls)"
+ "$(use_enable utils)"
+ )
+ econf "${myeconfargs}"
+}
+
+src_install() {
+ default
+ DOCS+=( $(usex lua "doc/lua_api.md" "") )
+ einstalldocs
+ use static || find "${ED}" -name "*.la" -delete
+}
diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
new file mode 100644
index 000000000000..a019e11cbc80
--- /dev/null
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Universal configuration library parser"
+HOMEPAGE="https://github.com/vstakhov/libucl"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/vstakhov/libucl.git"
+else
+ SRC_URI="https://github.com/vstakhov/libucl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+IUSE="lua +regex sign urls +utils static"
+
+DEPEND="!!dev-libs/ucl
+ lua? ( >=dev-lang/lua-5.1:= )
+ urls? ( net-misc/curl )
+ sign? ( dev-libs/openssl:0 )
+"
+BDEPEND="${DEPEND}
+ virtual/pkgconfig
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md doc/api.md )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ "$(use_enable lua)"
+ "$(use_enable regex)"
+ "$(use_enable sign signatures)"
+ "$(use_enable urls)"
+ "$(use_enable utils)"
+ )
+ econf "${myeconfargs}"
+}
+
+src_install() {
+ default
+ DOCS+=( $(usex lua "doc/lua_api.md" "") )
+ einstalldocs
+ use static || find "${ED}" -name "*.la" -delete
+}
diff --git a/dev-libs/libucl/metadata.xml b/dev-libs/libucl/metadata.xml
new file mode 100644
index 000000000000..b357b63e2e53
--- /dev/null
+++ b/dev-libs/libucl/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>
+ UCL is heavily infused by nginx configuration as the example of a
+ convenient configuration system. However, UCL is fully compatible
+ with JSON format and is able to parse json files. It can also emit
+ UCL objects into different formats such as "nginx like", json,
+ yaml and compact json
+ </longdescription>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="regex">Enable regex support</flag>
+ <flag name="sign">Enable signatures check</flag>
+ <flag name="urls">Enable URLs fetch</flag>
+ <flag name="utils">Install utils for checking other configs</flag>
+ </use>
+</pkgmetadata>