summaryrefslogtreecommitdiff
path: root/dev-cpp/units
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/units')
-rw-r--r--dev-cpp/units/Manifest1
-rw-r--r--dev-cpp/units/metadata.xml10
-rw-r--r--dev-cpp/units/units-2.3.3.ebuild24
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-cpp/units/Manifest b/dev-cpp/units/Manifest
new file mode 100644
index 000000000000..10258e3638a8
--- /dev/null
+++ b/dev-cpp/units/Manifest
@@ -0,0 +1 @@
+DIST units-2.3.3.tar.gz 1612045 BLAKE2B f81461e28d2cfe331ada2a0d1c0276d6a6c52825f2ec28caf2160e80aaa343ccc947892fe6be6133c5a80f277ac1767df49b66a10ad3ed573b57e6af16acd385 SHA512 40d803e6bb17f4bb46a0136c7753ae25a0d3ce352dbff3843b0c231e94eb8bade1de65d5b988589607fb12b11e4bfa762708a68839f2d7dccb45440672d09031
diff --git a/dev-cpp/units/metadata.xml b/dev-cpp/units/metadata.xml
new file mode 100644
index 000000000000..4a1120304621
--- /dev/null
+++ b/dev-cpp/units/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kocelfc@tutanota.com</email>
+ <name>Kostadin Shishmanov</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-cpp/units/units-2.3.3.ebuild b/dev-cpp/units/units-2.3.3.ebuild
new file mode 100644
index 000000000000..b9d408ae358d
--- /dev/null
+++ b/dev-cpp/units/units-2.3.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A compile-time, header-only, dimensional analysis and unit conversion library"
+HOMEPAGE="https://github.com/nholthaus/units"
+SRC_URI="https://github.com/nholthaus/units/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs+=(
+ -DBUILD_TESTS="$(usex test ON OFF)"
+ )
+ cmake_src_configure
+}