summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-06-26 08:25:20 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-06-26 08:25:36 +0300
commit5cc7bfd2e2d4e1cf4902c052e6cb52b9f585d930 (patch)
tree999ccda4f9e3c8cd69d025cf2bdb2b7079b935b4 /dev-libs
parentdev-python/tavern: Bump to 2.2.0 (diff)
downloadgentoo-5cc7bfd2e2d4e1cf4902c052e6cb52b9f585d930.tar.gz
gentoo-5cc7bfd2e2d4e1cf4902c052e6cb52b9f585d930.tar.bz2
gentoo-5cc7bfd2e2d4e1cf4902c052e6cb52b9f585d930.zip
dev-libs/sexp: add 0.8.6
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/sexp/Manifest1
-rw-r--r--dev-libs/sexp/sexp-0.8.6.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/sexp/Manifest b/dev-libs/sexp/Manifest
index 1f2244d64e11..7b2d1c908592 100644
--- a/dev-libs/sexp/Manifest
+++ b/dev-libs/sexp/Manifest
@@ -1 +1,2 @@
DIST sexp-0.8.5.tar.gz 45822 BLAKE2B 44a33e12057284f6c5017fbcf20f699432a5300036d2484c010cac8d1907c5b1c4fb571e93fa9ea346fe8b28091646e1e5f9410b6e9ea3ba6a948b53c5361af0 SHA512 fb648545b44b8dfc07e047b5d962c6bbba85fd40d2098ca98176d064d5da594402843a2d89ec249b5e2d1dae39b6abd5bea201bc553b2fff4938d117e42a561e
+DIST sexp-0.8.6.tar.gz 46857 BLAKE2B 5ff8eaf3ba81af243e6780604b51b43743ed7f9de6121c1de273bbbd51d42e3feed3c00357c85ccaa5e808d2e5f753f58b5f96fea38f5b50b2b2bd9ee658be74 SHA512 b2698a397ef1b161a722e1834bc62f6d2b27c403faa27d97e1e137cc7315e004252ac75bbaaf817bc705f7830cb89665bb23ba8d18904fedd6c2f01c5f1e6f0f
diff --git a/dev-libs/sexp/sexp-0.8.6.ebuild b/dev-libs/sexp/sexp-0.8.6.ebuild
new file mode 100644
index 000000000000..ffe0a9773d1c
--- /dev/null
+++ b/dev-libs/sexp/sexp-0.8.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="S-expressions parser and generator library in C++"
+HOMEPAGE="https://github.com/rnpgp/sexp"
+SRC_URI="https://github.com/rnpgp/sexp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="cli test"
+
+BDEPEND="virtual/pkgconfig
+ test? ( dev-cpp/gtest )"
+
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}"/sexpp-${PV}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=on
+
+ -DDOWNLOAD_GTEST=off
+
+ -DWITH_COVERAGE=off
+ -DWITH_SANITIZERS=off
+ -DWITH_SEXP_CLI=$(usex cli on off)
+ -DWITH_SEXP_TESTS=$(usex test on off)
+ )
+
+ cmake_src_configure
+}