aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2021-05-18 15:17:43 +0800
committerGitHub <noreply@github.com>2021-05-18 00:17:43 -0700
commitf8c233a2bd088a08360407bc5601ccd75c8100c5 (patch)
tree4dcdd0007298ba62ae7f0f6fc57e14e9afecc2ac /ports
parent38e7e0367e647fa3c0a8e6eeae89a9f6193a9115 (diff)
downloadvcpkg-f8c233a2bd088a08360407bc5601ccd75c8100c5.tar.gz
vcpkg-f8c233a2bd088a08360407bc5601ccd75c8100c5.zip
[winlamb] Add new port (#17590)
* [winlamb] Add new port * [winlamb] vcpkg x-add-version --overwrite-version winlamb * [winlamb] Supports windows * [winlamb] vcpkg x-add-version --overwrite-version winlamb
Diffstat (limited to 'ports')
-rw-r--r--ports/winlamb/portfile.cmake17
-rw-r--r--ports/winlamb/vcpkg.json8
2 files changed, 25 insertions, 0 deletions
diff --git a/ports/winlamb/portfile.cmake b/ports/winlamb/portfile.cmake
new file mode 100644
index 000000000..d4509647b
--- /dev/null
+++ b/ports/winlamb/portfile.cmake
@@ -0,0 +1,17 @@
+# Header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO rodrigocfd/winlamb
+ REF b7a6767994b2a8c0782c6b6e7b9e78a224a078cf
+ SHA512 343a900ef003eac47489b34d2b5affc1f133929ff036d535f604fbc5771767075835eed59acd7b93674729badf28ac99f6ba10ac3bf34af6aa4ac49021925e7c
+ HEAD_REF master
+)
+
+file(GLOB WINLAMB_PUBLIC_HEADERS ${SOURCE_PATH}/*.h)
+file(GLOB WINLAMB_INTERNAL_HEADERS ${SOURCE_PATH}/internals/*.h)
+file(INSTALL ${WINLAMB_PUBLIC_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
+file(INSTALL ${WINLAMB_INTERNAL_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT}/internals)
+
+file(INSTALL ${SOURCE_PATH}/win10.exe.manifest DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
+
+file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/winlamb/vcpkg.json b/ports/winlamb/vcpkg.json
new file mode 100644
index 000000000..d290ada88
--- /dev/null
+++ b/ports/winlamb/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "winlamb",
+ "version-date": "2020-10-15",
+ "description": "A lightweight modern C++11 library for Win32 API, using lambdas to handle Windows messages.",
+ "homepage": "https://github.com/rodrigocfd/winlamb",
+ "license": "MIT",
+ "supports": "windows"
+}