File fix-cmake-paths.patch of Package miracl

diff -rU3 MIRACL-0b9bdead1b3636a296e2f7c125cfa465ef47cfe3/CMakeLists.txt MIRACL-0b9bdead1b3636a296e2f7c125cfa465ef47cfe3.new/CMakeLists.txt
--- MIRACL-0b9bdead1b3636a296e2f7c125cfa465ef47cfe3/CMakeLists.txt	2018-06-22 16:10:07.000000001 +0100
+++ MIRACL-0b9bdead1b3636a296e2f7c125cfa465ef47cfe3.new/CMakeLists.txt	2019-02-25 11:29:43.000000001 +0000
@@ -42,30 +42,30 @@
 
 install(TARGETS miracl
         EXPORT "${PROJECT_NAME}Targets"
-        ARCHIVE DESTINATION lib
-        LIBRARY DESTINATION lib
-        INCLUDES DESTINATION include
+        ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+        LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+        INCLUDES DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
 )
 install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/"
-        DESTINATION include
+        DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME}
         FILES_MATCHING PATTERN "*.h"
 )
 export(TARGETS miracl NAMESPACE "${PROJECT_NAME}::" FILE "${PROJECT_NAME}Targets.cmake")
 install(EXPORT "${PROJECT_NAME}Targets"
         NAMESPACE "${PROJECT_NAME}::"
-        DESTINATION "lib/cmake/${PROJECT_NAME}"
+        DESTINATION "${LIB_INSTALL_DIR}/cmake/${PROJECT_NAME}"
 )
 
 include(CMakePackageConfigHelpers)
 
 configure_package_config_file("${CMAKE_CURRENT_LIST_DIR}/cmake/${PROJECT_NAME}Config.cmake.in"
     ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
-    INSTALL_DESTINATION "lib/cmake/${PROJECT_NAME}"
+    INSTALL_DESTINATION "${LIB_INSTALL_DIR}/cmake/${PROJECT_NAME}"
 )
 
 install(FILES
     "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
-    DESTINATION "lib/cmake/${PROJECT_NAME}"
+    DESTINATION "${LIB_INSTALL_DIR}/cmake/${PROJECT_NAME}"
 )