summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-12-30 23:42:19 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-12-31 00:38:36 +0100
commit7c023bb86f57138280b8068892837596b675f2ff (patch)
tree8e47c8d2c22b23daab508e12ae25696ec4650909 /dev-libs/metee
parentsys-apps/sandbox: drop 2.24, 2.25, 2.26, 2.27, 2.28 (diff)
downloadgentoo-7c023bb86f57138280b8068892837596b675f2ff.tar.gz
gentoo-7c023bb86f57138280b8068892837596b675f2ff.tar.bz2
gentoo-7c023bb86f57138280b8068892837596b675f2ff.zip
dev-libs/metee: add 3.1.4
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/metee')
-rw-r--r--dev-libs/metee/Manifest1
-rw-r--r--dev-libs/metee/metee-3.1.4.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/metee/Manifest b/dev-libs/metee/Manifest
index c9a6be9074ca..e16f4339eeed 100644
--- a/dev-libs/metee/Manifest
+++ b/dev-libs/metee/Manifest
@@ -1 +1,2 @@
DIST metee-3.1.3.tar.gz 71887 BLAKE2B 9fa4f126abccea44b0a074d8bdb1e7e8d7f7bb4d3334cc77d6c00ef6d315577860fde3d11e81499824e79e01e373030cf4f8aa299864197dbde7b14c7c80fe08 SHA512 65f12ff244e66dbc84925be5871e507af9284f47c100fcf4a458882f2e65a0128ac33783c0144f9dfea96a5d87641a1059885855d565ca0e5623ec27718c9d5b
+DIST metee-3.1.4.tar.gz 72983 BLAKE2B d3617a891c1b5162aaf17561f8ee59c07f2808d9c67c67740ce0519fed5b20331249b2a537a6ab839d844a2e576fe80252bf9016b61ea0bf3f91d2704384bd01 SHA512 b913056535bb323bbe6c2c5460af633ed4a1bb326a56dfe90f1e8a1fe58b77109be791b3a2ebd1324a9618a0778f4e7a2c12bb16f19004218ef69612ebd9de49
diff --git a/dev-libs/metee/metee-3.1.4.ebuild b/dev-libs/metee/metee-3.1.4.ebuild
new file mode 100644
index 000000000000..5ef352b317b4
--- /dev/null
+++ b/dev-libs/metee/metee-3.1.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Cross-platform access library for Intel CSME HECI interface"
+HOMEPAGE="https://github.com/intel/metee"
+SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+BDEPEND="doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ default
+ cmake_src_prepare
+
+ # Respect users CFLAGS
+ sed -e 's/-D_FORTIFY_SOURCE=2 -O2//' -e 's/-Werror//' -i linux.cmake || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCS="$(usex doc)"
+ -DBUILD_SAMPLES="NO"
+ -DBUILD_SHARED_LIBS="YES"
+ -DBUILD_TEST="NO"
+ -DCONSOLE_OUTPUT="NO"
+ )
+
+ cmake_src_configure
+}