diff options
| author | JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> | 2021-09-08 12:41:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-07 21:41:40 -0700 |
| commit | d1657f4c9b0dedbfd917fc3ffba16f0e106b9fb5 (patch) | |
| tree | ca17091a4bc8f2986240a0d9e063e96e8e0bd2f6 /ports/aixlog | |
| parent | 8ef3e28099e0d807c6be79520ed217dbcc5c4e85 (diff) | |
| download | vcpkg-d1657f4c9b0dedbfd917fc3ffba16f0e106b9fb5.tar.gz vcpkg-d1657f4c9b0dedbfd917fc3ffba16f0e106b9fb5.zip | |
[arcus/any-lite/aixlog] Update to the latest version (#19977)
* [arcus/any-lite/aixlog] Update to the latest version
* update version
* Apply requested changes
* update version
* update vcpkg.json
* update version
Diffstat (limited to 'ports/aixlog')
| -rw-r--r-- | ports/aixlog/CONTROL | 3 | ||||
| -rw-r--r-- | ports/aixlog/portfile.cmake | 17 | ||||
| -rw-r--r-- | ports/aixlog/vcpkg.json | 11 |
3 files changed, 22 insertions, 9 deletions
diff --git a/ports/aixlog/CONTROL b/ports/aixlog/CONTROL deleted file mode 100644 index d0b7edb2f..000000000 --- a/ports/aixlog/CONTROL +++ /dev/null @@ -1,3 +0,0 @@ -Source: aixlog
-Version: 1.4.0 -Description: Header-only C++ logging library
diff --git a/ports/aixlog/portfile.cmake b/ports/aixlog/portfile.cmake index c1e278947..5249e4d23 100644 --- a/ports/aixlog/portfile.cmake +++ b/ports/aixlog/portfile.cmake @@ -1,11 +1,16 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO badaix/aixlog
- REF c268f271ef7e7181389205e985740f29e6744a8c # v1.4.0
- SHA512 7014d22a0bdbaf85191d18652531af6e0c8ff6d8041bf92a80d51994cfbdf0d9d63c4f8836b9bba16d1895ffa03ad0749a42bd11706eb5f3cde1dcbe76746c24
+ REF fd4a341740ee840092963de852584ec8ff811c4f # v1.5.0
+ SHA512 10ab07dcb1e67064c0d69ddcf9289d79d914c70fe6922f32179f9ac38d5c682a4ebe08b686d8160c699a6b966bc7aa2fd7d0268664570a10ce146850e78b292d
)
-
-file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
-file(COPY ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+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/ports/aixlog/vcpkg.json b/ports/aixlog/vcpkg.json new file mode 100644 index 000000000..978c86f3f --- /dev/null +++ b/ports/aixlog/vcpkg.json @@ -0,0 +1,11 @@ +{ + "name": "aixlog", + "version-semver": "1.5.0", + "description": "Header-only C++ logging library", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |
