commit: 5ffa5ff294bbcf85b9121de5054dc4658b0827e3
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 09:24:31 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 09:24:31 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5ffa5ff2
sys-devel/oneDPL: also generate and install cmake/pkgconfig files
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../oneDPL/{oneDPL-2022.0.0.ebuild => oneDPL-2022.0.0-r1.ebuild} | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys-devel/oneDPL/oneDPL-2022.0.0.ebuild
b/sys-devel/oneDPL/oneDPL-2022.0.0-r1.ebuild
similarity index 87%
rename from sys-devel/oneDPL/oneDPL-2022.0.0.ebuild
rename to sys-devel/oneDPL/oneDPL-2022.0.0-r1.ebuild
index 6d36dc409..895c53c37 100644
--- a/sys-devel/oneDPL/oneDPL-2022.0.0.ebuild
+++ b/sys-devel/oneDPL/oneDPL-2022.0.0-r1.ebuild
@@ -51,10 +51,15 @@ src_configure() {
src_compile() {
cmake_src_compile
+ cmake -P cmake/scripts/generate_config.cmake || die
# docs_compile
}
src_install() {
einstalldocs
doheader -r "${S}/include/oneapi"
+ insinto "/usr/$(get_libdir)/cmake/oneDPL/"
+ doins output/*.cmake
+ insinto "/usr/$(get_libdir)/pkgconfig/"
+ doins output/pkgconfig-lin/*.pc
}