dev-libs/sexp: add 0.8.6

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2023-06-26 08:25:36 +03:00
parent 6467d890a2
commit 5cc7bfd2e2
2 changed files with 38 additions and 0 deletions
+1
View File
@@ -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
+37
View File
@@ -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
}