diff options
-rw-r--r-- | dev-libs/openxlsx/files/install-enabled.patch | 33 | ||||
-rw-r--r-- | dev-libs/openxlsx/openxlsx-9999.ebuild | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/openxlsx/files/install-enabled.patch b/dev-libs/openxlsx/files/install-enabled.patch new file mode 100644 index 0000000..6070bae --- /dev/null +++ b/dev-libs/openxlsx/files/install-enabled.patch @@ -0,0 +1,33 @@ +From dee569a3e5fac58020579594acb90ccce888c44c Mon Sep 17 00:00:00 2001 +From: Igor Ulyanov <disinbox@gmail.com> +Date: Sat, 9 Nov 2019 12:26:54 +0300 +Subject: [PATCH] install enabled + +--- + library/openxlsx/CMakeLists.txt | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/library/openxlsx/CMakeLists.txt b/library/openxlsx/CMakeLists.txt +index a83d2da..be94a6b 100644 +--- a/library/openxlsx/CMakeLists.txt ++++ b/library/openxlsx/CMakeLists.txt +@@ -215,10 +215,10 @@ file(COPY ${CMAKE_CURRENT_BINARY_DIR}/openxlsx_export.h DESTINATION ${OPENXLSX_I + #======================================================================================================================= + # Install OpenXLSX Library + #======================================================================================================================= +-#include(GNUInstallDirs) +-#install(TARGETS OpenXLSX +-# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} +-# LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} +-# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +-#install(FILES ${OPENXLSX_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OpenXLSX) ++include(GNUInstallDirs) ++install(TARGETS OpenXLSX ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) ++install(FILES ${OPENXLSX_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OpenXLSX) + +-- +2.23.0 + diff --git a/dev-libs/openxlsx/openxlsx-9999.ebuild b/dev-libs/openxlsx/openxlsx-9999.ebuild index 41d9c33..e8100a7 100644 --- a/dev-libs/openxlsx/openxlsx-9999.ebuild +++ b/dev-libs/openxlsx/openxlsx-9999.ebuild @@ -18,4 +18,6 @@ RDEPEND="dev-libs/pugixml dev-libs/libzip" DEPEND="" +PATCHES="${FILESDIR}/install-enabled.patch" + EGIT_REPO_URI="https://github.com/troldal/OpenXLSX.git" |