mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-cpp/units: new package, add 2.3.3
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
24
dev-cpp/units/units-2.3.3.ebuild
Normal file
24
dev-cpp/units/units-2.3.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user