aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/miniply/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/miniply/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/miniply/portfile.cmake')
-rw-r--r--vcpkg/ports/miniply/portfile.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/miniply/portfile.cmake b/vcpkg/ports/miniply/portfile.cmake
new file mode 100644
index 0000000..3422934
--- /dev/null
+++ b/vcpkg/ports/miniply/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO vilya/miniply
+ REF 1a235c70390fadf789695c9ccbf285ae712416b3
+ SHA512 856bb39bd36dab588026b9ee886a996bd697df5c1a24de2abff822e037a0fb7af0be19dca5e2f6ccc524453b0b9ee6e225510565ca78f6b965dd7406ba67dac1
+ HEAD_REF master
+ PATCHES
+ fix-cmake.patch
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-miniply)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")