summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2024-01-10 16:43:04 +0100
committerSam James <sam@gentoo.org>2024-07-13 18:34:37 +0100
commit41760d52db4e0381cb5334ff0ed7d3abe6f070ca (patch)
tree1f16c88775b314fa7aa681e8799cd9a6192689f3 /dev-libs
parentdev-libs/lager: new package, add 0.1.1 (diff)
downloadgentoo-41760d52db4e0381cb5334ff0ed7d3abe6f070ca.tar.gz
gentoo-41760d52db4e0381cb5334ff0ed7d3abe6f070ca.tar.bz2
gentoo-41760d52db4e0381cb5334ff0ed7d3abe6f070ca.zip
dev-libs/zug: new package, add 0.1.1
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/zug/Manifest1
-rw-r--r--dev-libs/zug/metadata.xml15
-rw-r--r--dev-libs/zug/zug-0.1.1.ebuild38
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/zug/Manifest b/dev-libs/zug/Manifest
new file mode 100644
index 000000000000..b74bd015ded3
--- /dev/null
+++ b/dev-libs/zug/Manifest
@@ -0,0 +1 @@
+DIST zug-0.1.1.tar.gz 102857 BLAKE2B 659e557fcac7c00d8ec3dcb54839bd6fbb23ca46b9d2052197b2f5e983eec1dc4251b36ed920b6f43225ff98a8bd1d3e65218f301dd121bdf8c2394efbb5e1b3 SHA512 1348a0bdd7aed1a590287ff3a1c45c0cb1aef2aca12dc37e77705c2b2015704f766fac82833fa28beb79efe00f6ff63ee1dcb220cdc43517f625ba5edecc090c
diff --git a/dev-libs/zug/metadata.xml b/dev-libs/zug/metadata.xml
new file mode 100644
index 000000000000..31d7c54166cc
--- /dev/null
+++ b/dev-libs/zug/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>darkdefende@gmail.com</email>
+ <name>Sebastian Parborg</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">arximboldi/zug</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/zug/zug-0.1.1.ebuild b/dev-libs/zug/zug-0.1.1.ebuild
new file mode 100644
index 000000000000..1b99a2b549ac
--- /dev/null
+++ b/dev-libs/zug/zug-0.1.1.ebuild
@@ -0,0 +1,38 @@
+# 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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ test? ( <dev-cpp/catch-3:0 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -Dzug_BUILD_DOCS=OFF # Recheck if documentation is in a better state when bumping
+ -Dzug_BUILD_EXAMPLES=OFF
+ -Dzug_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use test; then
+ cmake_build tests
+ fi
+
+}