From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-libs/libnop/libnop-2021.11.03.ebuild | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-libs/libnop/libnop-2021.11.03.ebuild (limited to 'dev-libs/libnop/libnop-2021.11.03.ebuild') 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 +} -- cgit v1.2.3