aboutsummaryrefslogtreecommitdiff
path: root/ports/libevent
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libevent')
-rw-r--r--ports/libevent/CONTROL14
-rw-r--r--ports/libevent/vcpkg.json28
2 files changed, 28 insertions, 14 deletions
diff --git a/ports/libevent/CONTROL b/ports/libevent/CONTROL
deleted file mode 100644
index b51c55e9f..000000000
--- a/ports/libevent/CONTROL
+++ /dev/null
@@ -1,14 +0,0 @@
-Source: libevent
-Version: 2.1.12
-Port-Version: 1
-Homepage: https://github.com/libevent/libevent
-Description: An event notification library
-Supports: !uwp
-Default-Features: thread
-
-Feature: openssl
-Description: Support for openssl
-Build-Depends: openssl, libevent[thread]
-
-Feature: thread
-Description: Support for thread
diff --git a/ports/libevent/vcpkg.json b/ports/libevent/vcpkg.json
new file mode 100644
index 000000000..1ddfa7a44
--- /dev/null
+++ b/ports/libevent/vcpkg.json
@@ -0,0 +1,28 @@
+{
+ "name": "libevent",
+ "version-string": "2.1.12",
+ "port-version": 2,
+ "description": "An event notification library",
+ "homepage": "https://github.com/libevent/libevent",
+ "supports": "!uwp",
+ "default-features": [
+ "thread"
+ ],
+ "features": {
+ "openssl": {
+ "description": "Support for openssl",
+ "dependencies": [
+ {
+ "name": "libevent",
+ "features": [
+ "thread"
+ ]
+ },
+ "openssl"
+ ]
+ },
+ "thread": {
+ "description": "Support for thread"
+ }
+ }
+}