summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-09-23 18:57:29 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-09-23 18:58:31 +0200
commit4d157c650cd5fc2ac676b111211c5b9c3a6ddd48 (patch)
tree24931976e0141008860fdaf140fcd87d67fcbffa /dev-libs/metee
parentdev-lang/tk: add 8.6.15 (diff)
downloadgentoo-4d157c650cd5fc2ac676b111211c5b9c3a6ddd48.tar.gz
gentoo-4d157c650cd5fc2ac676b111211c5b9c3a6ddd48.tar.bz2
gentoo-4d157c650cd5fc2ac676b111211c5b9c3a6ddd48.zip
dev-libs/metee: add 4.2.1
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-4.2.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/metee/Manifest b/dev-libs/metee/Manifest
index 96d86092e6f8..2fb6bffed3a2 100644
--- a/dev-libs/metee/Manifest
+++ b/dev-libs/metee/Manifest
@@ -1 +1,2 @@
DIST metee-4.2.0.tar.gz 100680 BLAKE2B 3852ea36f48f3d06bad3154c4089519fad44b991bc4f05870815b1bdad86bef070cdb4033404f63a8a3cb34b815421da846a04838517b31a1c4a090667fd7764 SHA512 0a479a57396ee82eb84836d8d97013bea5c9968be9de506cf378c58121a7c681c742f700ab3241804da17ccb118bd3a6c928893dc4e11cb5be2faad47dfb7dc0
+DIST metee-4.2.1.tar.gz 101949 BLAKE2B 03878099f372276cb1f1a464ecb8c9f31e4aad5e85ba02b9c821ec9483c1749f99368a6ecfcb6e9426b6f09d04356f2aa96122a485c8d69a424271a8b76221af SHA512 e2be12d17c236afb10a3deba9d85686c3e26637320995b3af8f370aa689fd5415974b3e8a8e3935c864efa40e37055d4a10476df9691db6a42a2e723bd939788
diff --git a/dev-libs/metee/metee-4.2.1.ebuild b/dev-libs/metee/metee-4.2.1.ebuild
new file mode 100644
index 000000000000..eb83679eaa02
--- /dev/null
+++ b/dev-libs/metee/metee-4.2.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 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-text/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
+}