diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/physac | |
Diffstat (limited to 'vcpkg/ports/physac')
| -rw-r--r-- | vcpkg/ports/physac/LICENSE | 21 | ||||
| -rw-r--r-- | vcpkg/ports/physac/portfile.cmake | 14 | ||||
| -rw-r--r-- | vcpkg/ports/physac/vcpkg.json | 7 |
3 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/physac/LICENSE b/vcpkg/ports/physac/LICENSE new file mode 100644 index 0000000..9cf7227 --- /dev/null +++ b/vcpkg/ports/physac/LICENSE @@ -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.
\ No newline at end of file diff --git a/vcpkg/ports/physac/portfile.cmake b/vcpkg/ports/physac/portfile.cmake new file mode 100644 index 0000000..3d9fc5e --- /dev/null +++ b/vcpkg/ports/physac/portfile.cmake @@ -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") diff --git a/vcpkg/ports/physac/vcpkg.json b/vcpkg/ports/physac/vcpkg.json new file mode 100644 index 0000000..2b478cd --- /dev/null +++ b/vcpkg/ports/physac/vcpkg.json @@ -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" +} |