aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2022-11-02 16:09:18 +0800
committerHuang Rui <vowstar@gmail.com>2022-11-02 16:09:18 +0800
commit4d7335ffa02dbdeca93e4080516218432355d622 (patch)
tree60885cda9bcbcc536abe3ea89f13fd69053845a4 /dev-libs
parentdev-libs/unordered_dense: new package, add 2.0.0, 9999 (diff)
downloadguru-4d7335ffa02dbdeca93e4080516218432355d622.tar.gz
guru-4d7335ffa02dbdeca93e4080516218432355d622.tar.bz2
guru-4d7335ffa02dbdeca93e4080516218432355d622.zip
dev-libs/unordered_dense: fix cmake module install path
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/unordered_dense/unordered_dense-2.0.0.ebuild8
-rw-r--r--dev-libs/unordered_dense/unordered_dense-9999.ebuild8
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/unordered_dense/unordered_dense-2.0.0.ebuild b/dev-libs/unordered_dense/unordered_dense-2.0.0.ebuild
index 05a399fc4..96d0837de 100644
--- a/dev-libs/unordered_dense/unordered_dense-2.0.0.ebuild
+++ b/dev-libs/unordered_dense/unordered_dense-2.0.0.ebuild
@@ -35,3 +35,11 @@ src_configure() {
)
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ # fix cmake module file install path
+ mkdir -p "${D}"/usr/"$(get_libdir)"/cmake/"${PN}" || die
+ mv "${D}"/usr/share/${PN}/cmake/* "${D}"/usr/"$(get_libdir)"/cmake/"${PN}"/ || die
+ rm -r "${D}"/usr/share/${PN} || die
+}
diff --git a/dev-libs/unordered_dense/unordered_dense-9999.ebuild b/dev-libs/unordered_dense/unordered_dense-9999.ebuild
index 05a399fc4..96d0837de 100644
--- a/dev-libs/unordered_dense/unordered_dense-9999.ebuild
+++ b/dev-libs/unordered_dense/unordered_dense-9999.ebuild
@@ -35,3 +35,11 @@ src_configure() {
)
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ # fix cmake module file install path
+ mkdir -p "${D}"/usr/"$(get_libdir)"/cmake/"${PN}" || die
+ mv "${D}"/usr/share/${PN}/cmake/* "${D}"/usr/"$(get_libdir)"/cmake/"${PN}"/ || die
+ rm -r "${D}"/usr/share/${PN} || die
+}