mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
[physac] Add new port (#29365)
This commit is contained in:
parent
62ee5c8ca4
commit
fa438cf4bc
21
ports/physac/LICENSE
Normal file
21
ports/physac/LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Víctor Fisac
|
||||
|
||||
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.
|
14
ports/physac/portfile.cmake
Normal file
14
ports/physac/portfile.cmake
Normal file
@ -0,0 +1,14 @@
|
||||
#header-only library
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO victorfisac/Physac
|
||||
REF "${VERSION}"
|
||||
SHA512 c539ee73d6f456e592d4a92cc5707278476632626b0fa0edfe6396cd4460fe0c2669843f4df3a22a132664d1981d261601061cca76ad1e4b63510a901fc3987b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/src/physac.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${CMAKE_CURRENT_LIST_DIR}/LICENSE")
|
7
ports/physac/vcpkg.json
Normal file
7
ports/physac/vcpkg.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "physac",
|
||||
"version": "1.1",
|
||||
"description": "2D physics header-only library for videogames developed in C using raylib library.",
|
||||
"homepage": "https://github.com/victorfisac/Physac",
|
||||
"license": "MIT"
|
||||
}
|
@ -5908,6 +5908,10 @@
|
||||
"baseline": "2020-12-21",
|
||||
"port-version": 0
|
||||
},
|
||||
"physac": {
|
||||
"baseline": "1.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"physfs": {
|
||||
"baseline": "3.2.0",
|
||||
"port-version": 1
|
||||
|
9
versions/p-/physac.json
Normal file
9
versions/p-/physac.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9223c960b5280c6fed8fb4289523a3433b50349e",
|
||||
"version": "1.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user