summaryrefslogtreecommitdiff
path: root/dev-cpp/std-format/std-format-0_pre20220112.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/std-format/std-format-0_pre20220112.ebuild')
-rw-r--r--dev-cpp/std-format/std-format-0_pre20220112.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-cpp/std-format/std-format-0_pre20220112.ebuild b/dev-cpp/std-format/std-format-0_pre20220112.ebuild
new file mode 100644
index 000000000000..ac3896aeaaca
--- /dev/null
+++ b/dev-cpp/std-format/std-format-0_pre20220112.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+COMMIT="45296602ad78a804411e7c3b617e13759f38e4e7"
+
+DESCRIPTION="A simple polyfill allowing you to use std::format"
+HOMEPAGE="https://gitlab.com/ananicy-cpp/stl-polyfills/std-format"
+SRC_URI="https://gitlab.com/ananicy-cpp/stl-polyfills/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="test? ( dev-libs/libfmt )"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}