summaryrefslogtreecommitdiff
path: root/dev-cpp/gulrak-filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/gulrak-filesystem')
-rw-r--r--dev-cpp/gulrak-filesystem/Manifest2
-rw-r--r--dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.14.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-cpp/gulrak-filesystem/Manifest b/dev-cpp/gulrak-filesystem/Manifest
index 6e6a9d3c5c70..60197bf2150d 100644
--- a/dev-cpp/gulrak-filesystem/Manifest
+++ b/dev-cpp/gulrak-filesystem/Manifest
@@ -1,3 +1,5 @@
DIST gulrak-filesystem-1.5.12.tar.gz 209661 BLAKE2B 9eb0bce08659396f3ef254b0ad772ae9ad29654aef3c90ab1f9eee1c4f830544ad947680e072fcf7d3c251a3afb77447617610c49931d50743444a6b88b4745d SHA512 2cba74921104fa84547288ff983260ce1e81967df6a7d2a334074826c355c72945ad64e6979cd302a23c5e3a398990706b01fc573c046512e9f508edca9da12c
+DIST gulrak-filesystem-1.5.14.tar.gz 211137 BLAKE2B 9734907da65e0f390e461d76c7b1c7e8ffa1a0f7f01e5952d69d9d6b6cc3c85e20f5e4495235f2589635fb665040bf2ee4def4d3bdcb0f3453a00ee8c4e8ac3f SHA512 6eae921485ecdaf4b8329a568b1f4f612ee491fc5fdeafce9c8000b9bf1a73b6fa4e07d0d4ddf05be49efe79e9bddfbcc0aba85529cb016668797a8d89eb9b82
EBUILD gulrak-filesystem-1.5.12.ebuild 855 BLAKE2B 510f1c74cabd2618303155896017f429e985a28d83e28843bffcce0d014b27998f9afb6eafe52df6308eede0eef354c053138c39289773f5ab81a3e4e597b497 SHA512 dfdeec0f734b25183f4b03ac39682eab3decf92e0027f3195f4147116a6d1a4c5494dbda7d32521bc6bb1fd9f12d1fa1433cbdd5bbd337f5b197c5a59e193e54
+EBUILD gulrak-filesystem-1.5.14.ebuild 857 BLAKE2B a88382a3d31619558a3097540556549a44821f81efe2558af5330f8c3c51739789f1a4368871647cd539c67df01811d74aa579de320de98da90d2a3940514d49 SHA512 a15fc8a84cac3dd353365b91ae90a640df02cff4ca2e76b0a24137f64820dc502e206250e4158a2efa2b721eb5caa848d58c4ca80c5b00c3e93901f03335bcff
MISC metadata.xml 330 BLAKE2B 00186bf8c44c6d7268ff44a6914530d56ef344300d10285a84b3a705e9f463e74aabcdb8bd4375d5e094e662565dbeeca882d33e72f24ae35392c63b7d63377f SHA512 9e84dee6929db5525f13d961bdf17b2db795f5f8cb4211aed4b1d3286207b8935e9a4276a7c0ebe09317347f64e8a54a835d2f607ae47b737462bdf9dbfc1c79
diff --git a/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.14.ebuild b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.14.ebuild
new file mode 100644
index 000000000000..cb9d6a8f4dcb
--- /dev/null
+++ b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.14.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Header-only single-file std::filesystem compatible helper library"
+HOMEPAGE="https://github.com/gulrak/filesystem"
+SRC_URI="https://github.com/gulrak/filesystem/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${P#*-}"
+
+src_prepare() {
+ cmake_src_prepare
+ sed -i "s:-Werror::g" cmake/GhcHelper.cmake test/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DGHC_FILESYSTEM_BUILD_EXAMPLES=OFF
+ -DGHC_FILESYSTEM_BUILD_TESTING=$(usex test)
+ -DGHC_FILESYSTEM_WITH_INSTALL=ON
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ docinto examples
+ use examples && dodoc examples/*.cpp
+}