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/aixlog | |
Diffstat (limited to 'vcpkg/ports/aixlog')
| -rw-r--r-- | vcpkg/ports/aixlog/portfile.cmake | 18 | ||||
| -rw-r--r-- | vcpkg/ports/aixlog/vcpkg.json | 14 |
2 files changed, 32 insertions, 0 deletions
diff --git a/vcpkg/ports/aixlog/portfile.cmake b/vcpkg/ports/aixlog/portfile.cmake new file mode 100644 index 0000000..2092d84 --- /dev/null +++ b/vcpkg/ports/aixlog/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO badaix/aixlog
+ REF fd4a341740ee840092963de852584ec8ff811c4f # v1.5.0
+ SHA512 10ab07dcb1e67064c0d69ddcf9289d79d914c70fe6922f32179f9ac38d5c682a4ebe08b686d8160c699a6b966bc7aa2fd7d0268664570a10ce146850e78b292d
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_EXAMPLE=OFF
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/aixlog/vcpkg.json b/vcpkg/ports/aixlog/vcpkg.json new file mode 100644 index 0000000..6670f4d --- /dev/null +++ b/vcpkg/ports/aixlog/vcpkg.json @@ -0,0 +1,14 @@ +{ + "name": "aixlog", + "version": "1.5.0", + "port-version": 1, + "description": "Header-only C++ logging library", + "homepage": "https://github.com/badaix/aixlog", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |