diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-05-21 12:27:05 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-05-21 12:27:38 +0200 |
commit | e888840cad6e7ed35ffaf0e8c7632c29ef37867f (patch) | |
tree | 65955cd6e52bb740d0b79747de1c72e29a564cf6 /dev-libs/pfs/pfs-0.10.0.ebuild | |
parent | profiles/arch/amd64/x32: mask jupyterlab_widgets (diff) | |
download | gentoo-e888840cad6e7ed35ffaf0e8c7632c29ef37867f.tar.gz gentoo-e888840cad6e7ed35ffaf0e8c7632c29ef37867f.tar.bz2 gentoo-e888840cad6e7ed35ffaf0e8c7632c29ef37867f.zip |
dev-libs/pfs: new package, add 0.10.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs/pfs/pfs-0.10.0.ebuild')
-rw-r--r-- | dev-libs/pfs/pfs-0.10.0.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/pfs/pfs-0.10.0.ebuild b/dev-libs/pfs/pfs-0.10.0.ebuild new file mode 100644 index 000000000000..8cd01f1adc85 --- /dev/null +++ b/dev-libs/pfs/pfs-0.10.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Production grade, very easy to use, procfs parsing library in C++" +HOMEPAGE="https://github.com/dtrugman/pfs" +SRC_URI="https://github.com/dtrugman/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -Dpfs_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/out/unittest || die +} |