aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/elfio/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/elfio/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/elfio/portfile.cmake')
-rw-r--r--vcpkg/ports/elfio/portfile.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/elfio/portfile.cmake b/vcpkg/ports/elfio/portfile.cmake
new file mode 100644
index 0000000..2fcd028
--- /dev/null
+++ b/vcpkg/ports/elfio/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO serge1/ELFIO
+ REF "Release_${VERSION}"
+ SHA512 f5c8bc6cc98da845f6c011fc85b98476935c5d20d72b36bff5ad2472434494115ee7c06cfa37152c528e5931c39fe3cc084bfc8e6952b2c3e8f24b8601ae212f
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS -DELFIO_BUILD_EXAMPLES=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH share/${PORT}/cmake)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)