place LICENSE in source folder

This commit is contained in:
jiayuehua 2024-10-25 13:26:10 +08:00
parent 2ab95fa2b2
commit f2d909bfc9
4 changed files with 29 additions and 22 deletions

View File

@ -1,20 +0,0 @@
MIT License
Copyright (c) 2024 Kris Jusiak <kris@jusiak.net>
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,26 @@
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..7d1f4c9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,20 @@
+MIT License
+
+Copyright (c) 2024 Kris Jusiak <kris@jusiak.net>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this
+software and associated documentation files (the "Software"), to deal in the Software
+without restriction, including without limitation the rights to use, copy, modify,
+merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be included in all copies
+or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -4,10 +4,11 @@ vcpkg_from_github(
REF "v${VERSION}" REF "v${VERSION}"
SHA512 101978e93e8a4ec095263ce3c45bdae2b599cf98b239dabb6823679578784f64860bc5eacfc8f908fc1669d7b5391b49e3df0bb2037e0463fc89e2ee781bf3d2 SHA512 101978e93e8a4ec095263ce3c45bdae2b599cf98b239dabb6823679578784f64860bc5eacfc8f908fc1669d7b5391b49e3df0bb2037e0463fc89e2ee781bf3d2
HEAD_REF main HEAD_REF main
PATCHES add-LICENSE.patch
) )
set(VCPKG_BUILD_TYPE release) # header-only set(VCPKG_BUILD_TYPE release) # header-only
file(COPY "${SOURCE_PATH}/mp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/") file(COPY "${SOURCE_PATH}/mp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/")
vcpkg_install_copyright(FILE_LIST "${CMAKE_CURRENT_LIST_DIR}/LICENSE") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,7 @@
{ {
"versions": [ "versions": [
{ {
"git-tree": "2ffd74f424d986546bae3934a004d62dd3217f7e", "git-tree": "4b840575d845a0e9f90f6cc55ef32bcc5e02abc4",
"version": "2.0.11", "version": "2.0.11",
"port-version": 0 "port-version": 0
}, },