diff options
| author | myd7349 <myd7349@gmail.com> | 2021-05-18 15:17:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-18 00:17:43 -0700 |
| commit | f8c233a2bd088a08360407bc5601ccd75c8100c5 (patch) | |
| tree | 4dcdd0007298ba62ae7f0f6fc57e14e9afecc2ac | |
| parent | 38e7e0367e647fa3c0a8e6eeae89a9f6193a9115 (diff) | |
| download | vcpkg-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
| -rw-r--r-- | ports/winlamb/portfile.cmake | 17 | ||||
| -rw-r--r-- | ports/winlamb/vcpkg.json | 8 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/w-/winlamb.json | 9 |
4 files changed, 38 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" +} diff --git a/versions/baseline.json b/versions/baseline.json index 19c985145..1e6f14723 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6452,6 +6452,10 @@ "baseline": "0.0-2", "port-version": 0 }, + "winlamb": { + "baseline": "2020-10-15", + "port-version": 0 + }, "winpcap": { "baseline": "4.1.3", "port-version": 4 diff --git a/versions/w-/winlamb.json b/versions/w-/winlamb.json new file mode 100644 index 000000000..e04c4b49a --- /dev/null +++ b/versions/w-/winlamb.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "4ab2db703006df4f9ada6beb31f0cf4556ea62eb", + "version-date": "2020-10-15", + "port-version": 0 + } + ] +} |
