diff options
| author | autoantwort <41973254+autoantwort@users.noreply.github.com> | 2021-03-24 20:53:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-24 12:53:27 -0700 |
| commit | bce563ed584e207fdc614f665176daf9194d5fd7 (patch) | |
| tree | 6f536b16b4aaf931c18e16acff0022aaad486ad1 | |
| parent | bddfc5c369ba43b8242b9ee8c63ab69aa9d30c81 (diff) | |
| download | vcpkg-bce563ed584e207fdc614f665176daf9194d5fd7.tar.gz vcpkg-bce563ed584e207fdc614f665176daf9194d5fd7.zip | |
[Influxdb-cxx] add new port (#16794)
* [influxdb-cxx] add new port
* add version files
| -rw-r--r-- | ports/influxdb-cxx/portfile.cmake | 28 | ||||
| -rw-r--r-- | ports/influxdb-cxx/vcpkg.json | 19 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/i-/influxdb-cxx.json | 9 |
4 files changed, 60 insertions, 0 deletions
diff --git a/ports/influxdb-cxx/portfile.cmake b/ports/influxdb-cxx/portfile.cmake new file mode 100644 index 000000000..cbdc50a5c --- /dev/null +++ b/ports/influxdb-cxx/portfile.cmake @@ -0,0 +1,28 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO offa/influxdb-cxx
+ REF v0.6.6
+ SHA512 4c9a9bf7ccf430caaed088830dceda8cc4b4ec6b78187e5238c5e73f17583781d9d00e08db1011b86a4f418cdfbbfc8b000500461d013872a62096de456e47ea
+ HEAD_REF master
+)
+
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+ FEATURES
+ boost INFLUXCXX_WITH_BOOST
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -DINFLUXCXX_TESTING=OFF
+ -DINFLUXCXX_SYSTEMTEST=OFF
+ ${FEATURE_OPTIONS}
+)
+
+vcpkg_install_cmake()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/influxdb-cxx/vcpkg.json b/ports/influxdb-cxx/vcpkg.json new file mode 100644 index 000000000..a54ce1512 --- /dev/null +++ b/ports/influxdb-cxx/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "influxdb-cxx", + "version": "0.6.6", + "description": "InfluxDB C++ client library", + "homepage": "https://github.com/offa/influxdb-cxx", + "dependencies": [ + "curl" + ], + "features": { + "boost": { + "description": "Enables UDP and Unix sockets as Transport Layer", + "dependencies": [ + "boost-asio", + "boost-conversion", + "boost-property-tree" + ] + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index 51308d6ee..acb6e667b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2568,6 +2568,10 @@ "baseline": "2.0", "port-version": 0 }, + "influxdb-cxx": { + "baseline": "0.6.6", + "port-version": 0 + }, "infoware": { "baseline": "0.5.5", "port-version": 1 diff --git a/versions/i-/influxdb-cxx.json b/versions/i-/influxdb-cxx.json new file mode 100644 index 000000000..316994fa7 --- /dev/null +++ b/versions/i-/influxdb-cxx.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "ed824d6b1c309c2e7e347960bfb44ab43885e7bc", + "version": "0.6.6", + "port-version": 0 + } + ] +} |
