aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tap-windows6
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/tap-windows6')
-rw-r--r--vcpkg/ports/tap-windows6/portfile.cmake13
-rw-r--r--vcpkg/ports/tap-windows6/vcpkg.json6
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/tap-windows6/portfile.cmake b/vcpkg/ports/tap-windows6/portfile.cmake
new file mode 100644
index 0000000..dcd2782
--- /dev/null
+++ b/vcpkg/ports/tap-windows6/portfile.cmake
@@ -0,0 +1,13 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO OpenVPN/tap-windows6
+ REF 0e30f5c13b3c7b0bdd60da915350f653e4c14d92
+ SHA512 88edecccd4818091f7d70b66f3dfa07146f010a064829dc971abdd0c180ce1f72db9d8f3a1c9f5b4fb3f31e7afe3eadbd7d6f7d711f698e723441d30beaf9e30
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/src/tap-windows.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/)
+
+file(INSTALL
+ ${SOURCE_PATH}/COPYRIGHT.MIT
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/tap-windows6 RENAME copyright)
diff --git a/vcpkg/ports/tap-windows6/vcpkg.json b/vcpkg/ports/tap-windows6/vcpkg.json
new file mode 100644
index 0000000..4a234c4
--- /dev/null
+++ b/vcpkg/ports/tap-windows6/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "tap-windows6",
+ "version": "9.21.2-0e30f5c",
+ "port-version": 2,
+ "description": "an NDIS 6 implementation of the TAP-Windows driver, used by OpenVPN and other apps. Note: This package only contains the headers for the driver."
+}