summaryrefslogtreecommitdiff
path: root/dev-libs/zug
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
commitb6fa31c964a602f8461a77d5b83355e8750c12eb (patch)
tree323fa7af31640b3ea8bb57fa7a927713f3d64769 /dev-libs/zug
parent868fd5dc8aab84930cfaa5252b8be06b35552765 (diff)
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'dev-libs/zug')
-rw-r--r--dev-libs/zug/Manifest1
-rw-r--r--dev-libs/zug/zug-0.1.1-r1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/zug/Manifest b/dev-libs/zug/Manifest
index 1d1243df86eb..1aa07bf02656 100644
--- a/dev-libs/zug/Manifest
+++ b/dev-libs/zug/Manifest
@@ -1,3 +1,4 @@
DIST zug-0.1.1.tar.gz 102857 BLAKE2B 659e557fcac7c00d8ec3dcb54839bd6fbb23ca46b9d2052197b2f5e983eec1dc4251b36ed920b6f43225ff98a8bd1d3e65218f301dd121bdf8c2394efbb5e1b3 SHA512 1348a0bdd7aed1a590287ff3a1c45c0cb1aef2aca12dc37e77705c2b2015704f766fac82833fa28beb79efe00f6ff63ee1dcb220cdc43517f625ba5edecc090c
+EBUILD zug-0.1.1-r1.ebuild 780 BLAKE2B 2f6c231366d32bfe103ad3996532d80fd6a63f35b744592242eb845843c9f50fcfec64901076c2addaee770a1b5f2f3704ac83bd7bc5a0f56460103c2601fa79 SHA512 e29de7ad523bbf5fa51be194ae4d63e1c8cbeaa767ecf10d43fe865cb8df4c49509027e91cd49af8417bb7a9302b0796daaa7d7bd311ca0bab1b5418f4893e35
EBUILD zug-0.1.1.ebuild 732 BLAKE2B 0a68960a1c573c5dea2edaaf3728a1e41c4b59a71fdab843b5c024231c7b2050fed4431c538b38e92534813cb95a0902e968e9b5f0951215614bac6da40217f0 SHA512 960605a77a1ee13248d2a69b152a4cabb6da23c0599416ee5e1b093cf69dbc8a1da891448587a50060054d5110a38c7638745ff0b6a9764b7144570ccbe3283d
MISC metadata.xml 481 BLAKE2B 9002b34caea756a7792af4ae8f0fb295dce30af399c19f5a0264bc4c98d460799ddd475fc7566c7f4d296097d3d1392f49133a40bc13255f8a617254f0426afb SHA512 1bbd0646c2569e2ab80869e427239a26a145d3d0c7cd64adf5994c1396f595286f7df26a3e9904f3abf7f5e32a1072d82b7dcf55e40b3a6c5f7bc6ac616e19b7
diff --git a/dev-libs/zug/zug-0.1.1-r1.ebuild b/dev-libs/zug/zug-0.1.1-r1.ebuild
new file mode 100644
index 000000000000..6cccaf41364f
--- /dev/null
+++ b/dev-libs/zug/zug-0.1.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Transducers for C++"
+HOMEPAGE="https://sinusoid.es/zug/"
+SRC_URI="https://github.com/arximboldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/boost:="
+
+BDEPEND="
+ test? ( <dev-cpp/catch-3:0 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCCACHE=no
+ -DDISABLE_WERROR=yes
+ -Dzug_BUILD_DOCS=no # Recheck if documentation is in a better state when bumping
+ -Dzug_BUILD_EXAMPLES=no
+ -Dzug_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use test; then
+ cmake_build tests
+ fi
+
+}