diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-libs/libnop/libnop-2021.11.03.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-libs/libnop/libnop-2021.11.03.ebuild')
-rw-r--r-- | dev-libs/libnop/libnop-2021.11.03.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/libnop/libnop-2021.11.03.ebuild b/dev-libs/libnop/libnop-2021.11.03.ebuild new file mode 100644 index 000000000000..93f597785e9e --- /dev/null +++ b/dev-libs/libnop/libnop-2021.11.03.ebuild @@ -0,0 +1,35 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CommitId=35e800d81f28c632956c5a592e3cbe8085ecd430 +DESCRIPTION="C++ Native Object Protocols" +HOMEPAGE="https://github.com/google/libnop" +SRC_URI="https://github.com/google/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +S="${WORKDIR}"/${PN}-${CommitId} + +src_compile() { + use test && default +} + +src_install() { + doheader -r include/nop + einstalldocs +} + +src_test() { + out/test || die +} |