aboutsummaryrefslogtreecommitdiff
path: root/ports/prometheus-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/prometheus-cpp')
-rw-r--r--ports/prometheus-cpp/CONTROL20
-rw-r--r--ports/prometheus-cpp/vcpkg.json36
2 files changed, 36 insertions, 20 deletions
diff --git a/ports/prometheus-cpp/CONTROL b/ports/prometheus-cpp/CONTROL
deleted file mode 100644
index c1db0101f..000000000
--- a/ports/prometheus-cpp/CONTROL
+++ /dev/null
@@ -1,20 +0,0 @@
-Source: prometheus-cpp
-Version: 0.12.3
-Description: Prometheus Client Library for Modern C++
-Default-Features: compression, pull
-
-Feature: compression
-Build-Depends: zlib
-Description: Enable zlib compression
-
-Feature: tests
-Build-Depends: gtest
-Description: Additional testing support
-
-Feature: pull
-Build-Depends: civetweb
-Description: Support for regular pull mode
-
-Feature: push
-Build-Depends: curl
-Description: Support push gateway
diff --git a/ports/prometheus-cpp/vcpkg.json b/ports/prometheus-cpp/vcpkg.json
new file mode 100644
index 000000000..246c7e451
--- /dev/null
+++ b/ports/prometheus-cpp/vcpkg.json
@@ -0,0 +1,36 @@
+{
+ "name": "prometheus-cpp",
+ "version-string": "0.12.3",
+ "port-version": 1,
+ "description": "Prometheus Client Library for Modern C++",
+ "default-features": [
+ "compression",
+ "pull"
+ ],
+ "features": {
+ "compression": {
+ "description": "Enable zlib compression",
+ "dependencies": [
+ "zlib"
+ ]
+ },
+ "pull": {
+ "description": "Support for regular pull mode",
+ "dependencies": [
+ "civetweb"
+ ]
+ },
+ "push": {
+ "description": "Support push gateway",
+ "dependencies": [
+ "curl"
+ ]
+ },
+ "tests": {
+ "description": "Additional testing support",
+ "dependencies": [
+ "gtest"
+ ]
+ }
+ }
+}