diff options
Diffstat (limited to 'vcpkg/ports/luabridge3')
| -rw-r--r-- | vcpkg/ports/luabridge3/portfile.cmake | 15 | ||||
| -rw-r--r-- | vcpkg/ports/luabridge3/vcpkg.json | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/luabridge3/portfile.cmake b/vcpkg/ports/luabridge3/portfile.cmake new file mode 100644 index 0000000..6f08ed3 --- /dev/null +++ b/vcpkg/ports/luabridge3/portfile.cmake @@ -0,0 +1,15 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO kunitoki/LuaBridge3 + REF 0e17140276d215e98764813078f48731125e4784 # 3.0-rc3 + SHA512 b0cafc817abf6408bb26ba76ca05641cc311e2defa3a78481af7dbd56be49f3d28c81d2b2a152aa5f0ea18721578eb9e36515614dca40f813603af5abe45d0ce + HEAD_REF master +) + +# Copy the header files +file(COPY "${SOURCE_PATH}/Source/LuaBridge" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}") + +# Handle copyright +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/luabridge3/vcpkg.json b/vcpkg/ports/luabridge3/vcpkg.json new file mode 100644 index 0000000..746b907 --- /dev/null +++ b/vcpkg/ports/luabridge3/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "luabridge3", + "version": "3.0-rc3", + "description": "A lightweight, dependency-free, suitable for game development library for binding Lua to C++17", + "homepage": "https://github.com/kunitoki/LuaBridge3", + "license": "MIT" +} |