diff options
| author | Tom Henoch <40023589+Tom-Henoch@users.noreply.github.com> | 2018-11-06 23:26:03 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-11-06 14:26:03 -0800 |
| commit | 2c72e57bf453c7d22744cb210e28a6c967f4ed25 (patch) | |
| tree | 1c98e3f95fdeedcc031967ee66901e9974cc49c2 | |
| parent | 087691c94a45bbfb636c9bc4ebb63906ac012edf (diff) | |
| download | vcpkg-2c72e57bf453c7d22744cb210e28a6c967f4ed25.tar.gz vcpkg-2c72e57bf453c7d22744cb210e28a6c967f4ed25.zip | |
aixlog port (#4660)
| -rw-r--r-- | ports/aixlog/CONTROL | 3 | ||||
| -rw-r--r-- | ports/aixlog/portfile.cmake | 32 |
2 files changed, 35 insertions, 0 deletions
diff --git a/ports/aixlog/CONTROL b/ports/aixlog/CONTROL new file mode 100644 index 000000000..12e2a88c9 --- /dev/null +++ b/ports/aixlog/CONTROL @@ -0,0 +1,3 @@ +Source: aixlog
+Version: 1.2.1
+Description: Header-only C++ logging library
diff --git a/ports/aixlog/portfile.cmake b/ports/aixlog/portfile.cmake new file mode 100644 index 000000000..4838372d6 --- /dev/null +++ b/ports/aixlog/portfile.cmake @@ -0,0 +1,32 @@ +# Common Ambient Variables:
+# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
+# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
+# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT}
+# PORT = current port name (zlib, etc)
+# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc)
+# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic)
+# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic)
+# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
+# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm)
+#
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO badaix/aixlog
+ REF v1.2.1
+ SHA512 776558fdd911f0cc9e8d467bf8e00a1930d2e51bb8ccd5f36f95955fefecab65faf575a80fdaacfe83fd32808f8b9c2e0323b16823e0431300df7bc0c1dfde12
+ )
+
+
+
+file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
+file(COPY ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+
+# Handle copyright
+file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/aixlog)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/aixlog/LICENSE ${CURRENT_PACKAGES_DIR}/share/aixlog/copyright)
+
+# Post-build test for cmake libraries
+# vcpkg_test_cmake(PACKAGE_NAME aixlog)
|
