mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-27 13:10:52 +00:00
[ponder] Add new port
This commit is contained in:
parent
e04b4ed5b5
commit
13710d5854
3
ports/ponder/CONTROL
Normal file
3
ports/ponder/CONTROL
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Source: ponder
|
||||||
|
Version: 3.0.0
|
||||||
|
Description: A C++ multi-purpose reflection library.
|
27
ports/ponder/no-install-unused.patch
Normal file
27
ports/ponder/no-install-unused.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 091f56d..715f86e 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -325,14 +325,14 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PonderConfig.cmake ${CMAKE_CURRENT_BIN
|
||||||
|
COMPONENT devel
|
||||||
|
)
|
||||||
|
|
||||||
|
-install(FILES README.md COPYING.txt
|
||||||
|
- DESTINATION ${INSTALL_MISC_DIR}
|
||||||
|
-)
|
||||||
|
-
|
||||||
|
-install(DIRECTORY cmake
|
||||||
|
- DESTINATION ${INSTALL_MISC_DIR}
|
||||||
|
- COMPONENT utils
|
||||||
|
-)
|
||||||
|
+#install(FILES README.md COPYING.txt
|
||||||
|
+# DESTINATION ${INSTALL_MISC_DIR}
|
||||||
|
+#)
|
||||||
|
+
|
||||||
|
+#install(DIRECTORY cmake
|
||||||
|
+# DESTINATION ${INSTALL_MISC_DIR}
|
||||||
|
+# COMPONENT utils
|
||||||
|
+#)
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# packaging
|
32
ports/ponder/portfile.cmake
Normal file
32
ports/ponder/portfile.cmake
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
include(vcpkg_common_functions)
|
||||||
|
|
||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO billyquith/ponder
|
||||||
|
REF 3.0.0
|
||||||
|
SHA512 b6ba1ce9fa0584b16085c56afb70e31f204a66b57193c1a4225bfe18abbda561bb71b3279dd0a4f1b21867b985ef5ce78c8e360f3fc654c61ce61c44d35c5f38
|
||||||
|
HEAD_REF master
|
||||||
|
PATCHES
|
||||||
|
no-install-unused.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_configure_cmake(
|
||||||
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
|
PREFER_NINJA
|
||||||
|
OPTIONS
|
||||||
|
-DUSES_RAPIDJSON=OFF
|
||||||
|
-DUSES_RAPIDXML=OFF
|
||||||
|
-DBUILD_TEST=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/ponder/cmake)
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE
|
||||||
|
${CURRENT_PACKAGES_DIR}/debug/include
|
||||||
|
${CURRENT_PACKAGES_DIR}/debug/lib/ponder
|
||||||
|
${CURRENT_PACKAGES_DIR}/lib/ponder)
|
||||||
|
|
||||||
|
# Handle copyright
|
||||||
|
configure_file(${SOURCE_PATH}/COPYING.txt ${CURRENT_PACKAGES_DIR}/share/ponder/copyright COPYONLY)
|
Loading…
Reference in New Issue
Block a user