mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-cpp/gulrak-filesystem: New package needed by x11-misc/barrier
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
1
dev-cpp/gulrak-filesystem/Manifest
Normal file
1
dev-cpp/gulrak-filesystem/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST gulrak-filesystem-1.5.10.tar.gz 176873 BLAKE2B 0c9ccfd918ede195c65a25a361c9d3a7acca99d2e5e917911a5dcd7e74c989c291f37e962943771860ea8b14f26d066863faea4dd17cb25d44aa9061913d5e5c SHA512 470dd9e1c4358f9d8d9f531d8c3c6716cdd156c815315748436a1dc3caf095d320e58eae2274df8c15e293cc96170752fb00aed8ad2210d417b174c13297fbac
|
||||
35
dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild
Normal file
35
dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.10.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
dev-cpp/gulrak-filesystem/metadata.xml
Normal file
11
dev-cpp/gulrak-filesystem/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user