aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mzying2001-sw
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/mzying2001-sw')
-rw-r--r--vcpkg/ports/mzying2001-sw/portfile.cmake22
-rw-r--r--vcpkg/ports/mzying2001-sw/vcpkg.json18
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/mzying2001-sw/portfile.cmake b/vcpkg/ports/mzying2001-sw/portfile.cmake
new file mode 100644
index 0000000..2de5047
--- /dev/null
+++ b/vcpkg/ports/mzying2001-sw/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Mzying2001/sw
+ REF ${VERSION}
+ SHA512 44d6bfc2f86cb0bfa9910b4fc5a168e165dcae78121e7ac55219b27abf0a1d77a291fab97d2772d4bca166df4a740d835bc05e7e76e443480e75c77470603cdd
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}/sw
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME sw
+ CONFIG_PATH share/mzying2001-sw
+)
+
+vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE)
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
diff --git a/vcpkg/ports/mzying2001-sw/vcpkg.json b/vcpkg/ports/mzying2001-sw/vcpkg.json
new file mode 100644
index 0000000..3c571f1
--- /dev/null
+++ b/vcpkg/ports/mzying2001-sw/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "mzying2001-sw",
+ "version": "0.0.7",
+ "description": "A C++ GUI framework for building Windows desktop applications.",
+ "homepage": "https://github.com/Mzying2001/sw",
+ "license": "MIT",
+ "supports": "windows & !uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}