aboutsummaryrefslogtreecommitdiff
path: root/ports/libb2
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libb2')
-rw-r--r--ports/libb2/CONTROL4
-rw-r--r--ports/libb2/portfile.cmake3
-rw-r--r--ports/libb2/vcpkg.json8
3 files changed, 10 insertions, 5 deletions
diff --git a/ports/libb2/CONTROL b/ports/libb2/CONTROL
deleted file mode 100644
index c905e1204..000000000
--- a/ports/libb2/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: libb2
-Version: 0.98.1-2
-Homepage: https://github.com/BLAKE2/libb2
-Description: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp \ No newline at end of file
diff --git a/ports/libb2/portfile.cmake b/ports/libb2/portfile.cmake
index 2a342f9dc..2401cf0c1 100644
--- a/ports/libb2/portfile.cmake
+++ b/ports/libb2/portfile.cmake
@@ -1,3 +1,5 @@
+vcpkg_fail_port_install(ON_TARGET "WINDOWS")
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO BLAKE2/libb2
@@ -23,5 +25,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_copy_pdbs()
-# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
diff --git a/ports/libb2/vcpkg.json b/ports/libb2/vcpkg.json
new file mode 100644
index 000000000..1d2f19db8
--- /dev/null
+++ b/ports/libb2/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "libb2",
+ "version-string": "0.98.1",
+ "port-version": 3,
+ "description": "C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp",
+ "homepage": "https://github.com/BLAKE2/libb2",
+ "supports": "!windows"
+}