aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/llgl/CONTROL1
-rw-r--r--ports/llgl/fix-install-error.patch2
-rw-r--r--ports/llgl/portfile.cmake3
3 files changed, 3 insertions, 3 deletions
diff --git a/ports/llgl/CONTROL b/ports/llgl/CONTROL
index fcba2d2d4..48341f27d 100644
--- a/ports/llgl/CONTROL
+++ b/ports/llgl/CONTROL
@@ -1,5 +1,6 @@
Source: llgl
Version: 2019-08-15
+Port-Version: 1
Homepage: https://github.com/LukasBanana/LLGL
Description: Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal.
Supports: !uwp
diff --git a/ports/llgl/fix-install-error.patch b/ports/llgl/fix-install-error.patch
index 30b9c3040..872d01bfc 100644
--- a/ports/llgl/fix-install-error.patch
+++ b/ports/llgl/fix-install-error.patch
@@ -39,6 +39,6 @@ index f440884..d1b0c2f 100644
+ ARCHIVE DESTINATION lib
+)
+# Install headers
-+install(DIRECTORY ${PROJECT_INCLUDE_DIR} DESTINATION include)
++install(DIRECTORY ${PROJECT_INCLUDE_DIR} DESTINATION .)
+
diff --git a/ports/llgl/portfile.cmake b/ports/llgl/portfile.cmake
index ddafdc9de..6ee4bed6b 100644
--- a/ports/llgl/portfile.cmake
+++ b/ports/llgl/portfile.cmake
@@ -35,5 +35,4 @@ endif()
vcpkg_copy_pdbs()
# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file