summaryrefslogtreecommitdiff
path: root/dev-libs/libnop
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libnop')
-rw-r--r--dev-libs/libnop/Manifest3
-rw-r--r--dev-libs/libnop/libnop-2021.11.03.ebuild35
-rw-r--r--dev-libs/libnop/metadata.xml11
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libnop/Manifest b/dev-libs/libnop/Manifest
new file mode 100644
index 000000000000..8f3d89faac2b
--- /dev/null
+++ b/dev-libs/libnop/Manifest
@@ -0,0 +1,3 @@
+DIST libnop-2021.11.03.tar.gz 124143 BLAKE2B 44b1c4c341d2120ff22511176fbf3c6f64328c97ddddae458e09676baae491e9218ea33a5836c7a6647090d3f06ac1d66529707af5e2684a14b409b3b57f3af1 SHA512 27f62710afb41165db5ef54bb2d09f89ed9c0c0cb401bffe2c52590bb28c67ed6ba68922510cdedd6dc7cc75fc267a02a2f9cbcca4bfa85042792a121e27097e
+EBUILD libnop-2021.11.03.ebuild 647 BLAKE2B 0ffced1edf027d99a3f3806097511ffe5a43b821e1e7f52f8f95a883351c774da63623ada9cafb1e3ba421bb5dbf231894b1c79b3f31bdb371c9f240d5ef2da8 SHA512 9e45eda796bd565a258b7db9763fbfbef422dadf9c023c5f6e2500820ceeec95e614c2b885aa49b611c80edc386f984060fb89adcc26441fea727acd4e9314c0
+MISC metadata.xml 326 BLAKE2B 267fcac4709c61daf177b248011fea40b932ae34ed27e75425c54476fa93f1ddca627a7f090476f514ec24ba97cdd6a31513c74b1098b198b9fdf3ea6213430c SHA512 7831679de5573dc2c3492655679ce8477ada2b482d30a3ac598970c1cfeb3005d6587a7a74b2425565e6f2d1e99e2ee5e17836e4525e3ad043cbe69f91d34cf3
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
+}
diff --git a/dev-libs/libnop/metadata.xml b/dev-libs/libnop/metadata.xml
new file mode 100644
index 000000000000..a0bb21b79e82
--- /dev/null
+++ b/dev-libs/libnop/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>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">google/libnop</remote-id>
+ </upstream>
+</pkgmetadata>