diff options
author | Huang Rui <vowstar@gmail.com> | 2022-11-02 16:09:18 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2022-11-02 16:09:18 +0800 |
commit | 4d7335ffa02dbdeca93e4080516218432355d622 (patch) | |
tree | 60885cda9bcbcc536abe3ea89f13fd69053845a4 /dev-libs | |
parent | dev-libs/unordered_dense: new package, add 2.0.0, 9999 (diff) | |
download | guru-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.ebuild | 8 | ||||
-rw-r--r-- | dev-libs/unordered_dense/unordered_dense-9999.ebuild | 8 |
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 +} |