aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/bw-sqlitemap/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/bw-sqlitemap/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/bw-sqlitemap/portfile.cmake')
-rw-r--r--vcpkg/ports/bw-sqlitemap/portfile.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/bw-sqlitemap/portfile.cmake b/vcpkg/ports/bw-sqlitemap/portfile.cmake
new file mode 100644
index 0000000..cf7079f
--- /dev/null
+++ b/vcpkg/ports/bw-sqlitemap/portfile.cmake
@@ -0,0 +1,23 @@
+set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO bw-hro/sqlitemap
+ REF "v${VERSION}"
+ SHA512 72e5dc25d82d440d0da17a5f464750320626b19a39536c268b3591b3f9a0631b2a2bbd6ecc5c242cd69ff9895c49e69ad20f273313a78f837d6e8bb55942217c
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DSM_BUILD_EXAMPLES=OFF
+ -DSM_BUILD_TESTS=OFF
+ -DSM_ENABLE_COVERAGE=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
+
+file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")