diff options
Diffstat (limited to 'dev-libs/zug')
-rw-r--r-- | dev-libs/zug/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/zug/metadata.xml | 15 | ||||
-rw-r--r-- | dev-libs/zug/zug-0.1.1.ebuild | 39 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/zug/Manifest b/dev-libs/zug/Manifest new file mode 100644 index 000000000000..f8cd86792c25 --- /dev/null +++ b/dev-libs/zug/Manifest @@ -0,0 +1,3 @@ +DIST zug-0.1.1.tar.gz 102857 BLAKE2B 659e557fcac7c00d8ec3dcb54839bd6fbb23ca46b9d2052197b2f5e983eec1dc4251b36ed920b6f43225ff98a8bd1d3e65218f301dd121bdf8c2394efbb5e1b3 SHA512 1348a0bdd7aed1a590287ff3a1c45c0cb1aef2aca12dc37e77705c2b2015704f766fac82833fa28beb79efe00f6ff63ee1dcb220cdc43517f625ba5edecc090c +EBUILD zug-0.1.1.ebuild 725 BLAKE2B e69451f1685b3bc3897bdc912a2ab4d28770a62b71c76c037c5af3acc27b619abd631b0316624570c9c067e838bc166309f069cdb10af7982fdeead94b6a1fa7 SHA512 d17cc672aa408c67b71b6036b447e7d806b0c31d97a71748341bacab413e86506758754dde59317ca230ddcf3513bef98adb71fe7999f870db835dd6a7e1f4f8 +MISC metadata.xml 481 BLAKE2B 9002b34caea756a7792af4ae8f0fb295dce30af399c19f5a0264bc4c98d460799ddd475fc7566c7f4d296097d3d1392f49133a40bc13255f8a617254f0426afb SHA512 1bbd0646c2569e2ab80869e427239a26a145d3d0c7cd64adf5994c1396f595286f7df26a3e9904f3abf7f5e32a1072d82b7dcf55e40b3a6c5f7bc6ac616e19b7 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..1b6a10f771e6 --- /dev/null +++ b/dev-libs/zug/zug-0.1.1.ebuild @@ -0,0 +1,39 @@ +# 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" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( <dev-cpp/catch-3:0 ) +" + +src_configure() { + local mycmakeargs=( + -DCCACHE=no + -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 + +} |