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:
jadedrip 2018-10-11 08:42:29 +08:00 committed by Robert Schumacher
parent b357d2d0c3
commit 29858b3cb2
2 changed files with 23 additions and 0 deletions

3
ports/luabridge/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: luabridge
Version: 2.1-1
Description: A lightweight, dependency-free library for binding Lua to C++

View 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
)