diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-11-02 21:09:01 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-11-02 21:09:01 +0000 |
commit | 1c0198721f7ce10bb5b7ce1bac4ff646d7dabafc (patch) | |
tree | 7ea72b34bfd1a8ca80c00ea901a2cede8d6f7764 /dev-cpp | |
parent | dev-lang/rust: adjust QA_EXECSTACK variable again (diff) | |
download | gentoo-1c0198721f7ce10bb5b7ce1bac4ff646d7dabafc.tar.gz gentoo-1c0198721f7ce10bb5b7ce1bac4ff646d7dabafc.tar.bz2 gentoo-1c0198721f7ce10bb5b7ce1bac4ff646d7dabafc.zip |
dev-cpp/gulrak-filesystem: New package needed by x11-misc/barrier
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/gulrak-filesystem/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild | 35 | ||||
-rw-r--r-- | dev-cpp/gulrak-filesystem/metadata.xml | 11 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/gulrak-filesystem/Manifest b/dev-cpp/gulrak-filesystem/Manifest new file mode 100644 index 000000000000..570717e1d820 --- /dev/null +++ b/dev-cpp/gulrak-filesystem/Manifest @@ -0,0 +1 @@ +DIST gulrak-filesystem-1.5.10.tar.gz 176873 BLAKE2B 0c9ccfd918ede195c65a25a361c9d3a7acca99d2e5e917911a5dcd7e74c989c291f37e962943771860ea8b14f26d066863faea4dd17cb25d44aa9061913d5e5c SHA512 470dd9e1c4358f9d8d9f531d8c3c6716cdd156c815315748436a1dc3caf095d320e58eae2274df8c15e293cc96170752fb00aed8ad2210d417b174c13297fbac diff --git a/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild new file mode 100644 index 000000000000..ea6c138fc1ac --- /dev/null +++ b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 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 ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +S="${WORKDIR}/${P#*-}" + +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 +} diff --git a/dev-cpp/gulrak-filesystem/metadata.xml b/dev-cpp/gulrak-filesystem/metadata.xml new file mode 100644 index 000000000000..e567ba1ed010 --- /dev/null +++ b/dev-cpp/gulrak-filesystem/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <upstream> + <remote-id type="github">gulrak/filesystem</remote-id> + </upstream> +</pkgmetadata> |