aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/lager
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/lager
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/lager')
-rw-r--r--vcpkg/ports/lager/portfile.cmake29
-rw-r--r--vcpkg/ports/lager/vcpkg.json23
2 files changed, 52 insertions, 0 deletions
diff --git a/vcpkg/ports/lager/portfile.cmake b/vcpkg/ports/lager/portfile.cmake
new file mode 100644
index 0000000..7c55973
--- /dev/null
+++ b/vcpkg/ports/lager/portfile.cmake
@@ -0,0 +1,29 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO arximboldi/lager
+ REF 2016df38be90ee176bcb73ea414be2318bc1ef31
+ SHA512 07d9f2cf128ad2e751abbfaa03969524ffba785ac2696e6b94ee8e28166fc3ab427de2fc6a98eba50d2f936879b9e878a011c3ba9a25ba39109e7939d39c4902
+ HEAD_REF master
+)
+
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+ FEATURES
+ docs lager_BUILD_DOCS
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -Dlager_BUILD_EXAMPLES=OFF
+ -Dlager_BUILD_TESTS=OFF
+ ${FEATURE_OPTIONS}
+)
+
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Lager)
+
+vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/lager/resources_path.hpp" "${CURRENT_PACKAGES_DIR}" ".")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/lager/vcpkg.json b/vcpkg/ports/lager/vcpkg.json
new file mode 100644
index 0000000..112af41
--- /dev/null
+++ b/vcpkg/ports/lager/vcpkg.json
@@ -0,0 +1,23 @@
+{
+ "name": "lager",
+ "version-date": "2023-03-19",
+ "description": "C++ library for value-oriented design using the unidirectional data-flow architecture",
+ "homepage": "https://sinusoid.es/lager/",
+ "dependencies": [
+ "boost-hana",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ },
+ "zug"
+ ],
+ "features": {
+ "docs": {
+ "description": "Build documentation"
+ }
+ }
+}