diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-31 21:02:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-31 21:02:55 +0000 |
commit | d36c5f9e59f92a021c987989cd79d44460e0da42 (patch) | |
tree | 2504c88d1f287ac3a71ebc56e5d19f34a2c1b9a4 /dev-libs/metee/metee-3.1.5.ebuild | |
parent | e860dfa5acdb67f8e2b8938b005dbaaaaf2c984a (diff) |
gentoo auto-resync : 31:01:2023 - 21:02:55
Diffstat (limited to 'dev-libs/metee/metee-3.1.5.ebuild')
-rw-r--r-- | dev-libs/metee/metee-3.1.5.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/metee/metee-3.1.5.ebuild b/dev-libs/metee/metee-3.1.5.ebuild new file mode 100644 index 000000000000..e6ad43ce8784 --- /dev/null +++ b/dev-libs/metee/metee-3.1.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 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 +} |