diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/bustache | |
Diffstat (limited to 'vcpkg/ports/bustache')
| -rw-r--r-- | vcpkg/ports/bustache/portfile.cmake | 21 | ||||
| -rw-r--r-- | vcpkg/ports/bustache/vcpkg.json | 20 |
2 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/bustache/portfile.cmake b/vcpkg/ports/bustache/portfile.cmake new file mode 100644 index 0000000..b720f02 --- /dev/null +++ b/vcpkg/ports/bustache/portfile.cmake @@ -0,0 +1,21 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO jamboree/bustache
+ REF abb25ca189425783c6b7ec5c17c5284dccb59faf
+ SHA512 be00451f6a85edccacbdd5d8478d7af4f3162f9a9a31af876004237ca7f303c1262b2ea623e6ec595d73440dc14fcf22d185bc521fd3aca6e28ec43890d611c5
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "share/bustache/cmake")
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+)
+
+# No license file --> use Readme
+file(INSTALL "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/bustache/vcpkg.json b/vcpkg/ports/bustache/vcpkg.json new file mode 100644 index 0000000..fd4f73d --- /dev/null +++ b/vcpkg/ports/bustache/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "bustache", + "version": "1.1.0", + "port-version": 2, + "description": "C++11 implementation of {{ mustache }}", + "homepage": "https://github.com/jamboree/bustache", + "license": "BSL-1.0", + "dependencies": [ + "boost-unordered", + "boost-utility", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |