From b8c8ce2ed9b9bd422a697ed1c897d8fc80c3e637 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Wed, 23 Nov 2016 13:26:43 +0100 Subject: media-libs/glbinding: New packages, ebuild written by me Required by up-to-date arrayfire/forge versions Package-Manager: portage-2.3.0 --- .../files/glbinding-2.1.1-CMakeLists.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch (limited to 'media-libs/glbinding/files') diff --git a/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch b/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch new file mode 100644 index 000000000..080cb7fae --- /dev/null +++ b/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch @@ -0,0 +1,29 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -103,7 +103,7 @@ endif() + if(UNIX AND SYSTEM_DIR_INSTALL) + # Install into the system (/usr/bin or /usr/local/bin) + set(INSTALL_ROOT "share/${project}") # /usr/[local]/share/ +- set(INSTALL_CMAKE "share/${project}/cmake") # /usr/[local]/share//cmake ++ set(INSTALL_CMAKE "lib/cmake") # /usr/[local]/lib/cmake + set(INSTALL_EXAMPLES "share/${project}") # /usr/[local]/share/ + set(INSTALL_DATA "share/${project}") # /usr/[local]/share/ + set(INSTALL_BIN "bin") # /usr/[local]/bin +@@ -159,16 +159,8 @@ add_subdirectory(deploy) + # Deployment (global project files) + # + +-# Install version file +-install(FILES "${PROJECT_BINARY_DIR}/VERSION" DESTINATION ${INSTALL_ROOT} COMPONENT runtime) +- + # Install cmake find script for the project +-install(FILES ${META_PROJECT_NAME}-config.cmake DESTINATION ${INSTALL_ROOT} COMPONENT dev) +- +-# Install the project meta files +-install(FILES AUTHORS DESTINATION ${INSTALL_ROOT} COMPONENT runtime) +-install(FILES LICENSE DESTINATION ${INSTALL_ROOT} COMPONENT runtime) +-install(FILES README.md DESTINATION ${INSTALL_ROOT} COMPONENT runtime) ++install(FILES ${META_PROJECT_NAME}-config.cmake DESTINATION ${INSTALL_LIB}/cmake/${project} COMPONENT dev) + + # Install runtime data + install(DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${INSTALL_DATA} COMPONENT examples_data) -- cgit v1.2.3-65-gdbad