mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Add luabridge 2.1 (#4443)
* Add luabridge 2.1 * [luabridge] Update to modern port practices, avoid checking in the License.
This commit is contained in:
parent
b357d2d0c3
commit
29858b3cb2
3
ports/luabridge/CONTROL
Normal file
3
ports/luabridge/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: luabridge
|
||||
Version: 2.1-1
|
||||
Description: A lightweight, dependency-free library for binding Lua to C++
|
20
ports/luabridge/portfile.cmake
Normal file
20
ports/luabridge/portfile.cmake
Normal file
@ -0,0 +1,20 @@
|
||||
include(vcpkg_common_functions)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO vinniefalco/LuaBridge
|
||||
REF 2.1
|
||||
SHA512 062efda16fe43a02bcc757aaebba839e0ec72a9a3b7bf1e5bc1427a54d664a52197c8bcd4ac584f0d04cce812c0f078e257716e8bca016bcabda82c2c332ac04
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(
|
||||
COPY ${SOURCE_PATH}/Source/LuaBridge
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
||||
)
|
||||
|
||||
# Handle copyright
|
||||
configure_file(
|
||||
${SOURCE_PATH}/README.md
|
||||
${CURRENT_PACKAGES_DIR}/share/luabridge/copyright
|
||||
COPYONLY
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user