commit: b3189ff71fc5b59a8bda9ae8b63ebb846c97bd6d
parent: 0a64eb9852b0e247da5fe5ca1835d2e51f1c38c9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 17 Mar 2020 22:37:39 +0100
dev-libs/libucl: new package
Diffstat:
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/dev-libs/libucl/Manifest b/dev-libs/libucl/Manifest
@@ -0,0 +1 @@
+DIST libucl-0.8.1.tar.gz 2028394 BLAKE2B 18fda317b4b4aed3d6b72c599d191f141bf4722d1c08244deda9c5e77300e2bef7de029889a05d9b4573472928d9d49a797123ac392a4cdd3b690ac277ad673d SHA512 36a059561eadb2dd7253ca22ff56f6a0c6cdd28580e28451c0cf47e1aec321a2e1589fc83ccb2033346f2dbca31a7e6afa9666ea544a0c190b7f80ed0e9f45af
diff --git a/dev-libs/libucl/libucl-0.8.1.ebuild b/dev-libs/libucl/libucl-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# 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"
+SRC_URI="https://github.com/vstakhov/libucl/archive/0.8.1.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD-2"
+SLOT="0/5.1.0"
+KEYWORDS="~amd64"
+
+IUSE="curl openssl libressl lua +static-libs utils"
+
+DEPENDS="
+ curl? ( net-misc/curl )
+ openssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ )
+ lua? ( dev-lang/lua:= )
+"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable curl urls) \
+ $(use_enable openssl signatures) \
+ $(use_enable lua) \
+ $(use_enable utils)
+}