aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjadedrip <jadedrip@gmail.com>2018-10-11 08:42:29 +0800
committerRobert Schumacher <roschuma@microsoft.com>2018-10-10 17:42:29 -0700
commit29858b3cb2c8a0ec2c85b1b14d6d0a0d1dfe309e (patch)
tree43a6d099d00482568b44bba09d02ed22893930ee
parentb357d2d0c3b828265d7d773f860807de309c4a97 (diff)
downloadvcpkg-29858b3cb2c8a0ec2c85b1b14d6d0a0d1dfe309e.tar.gz
vcpkg-29858b3cb2c8a0ec2c85b1b14d6d0a0d1dfe309e.zip
Add luabridge 2.1 (#4443)
* Add luabridge 2.1 * [luabridge] Update to modern port practices, avoid checking in the License.
-rw-r--r--ports/luabridge/CONTROL3
-rw-r--r--ports/luabridge/portfile.cmake20
2 files changed, 23 insertions, 0 deletions
diff --git a/ports/luabridge/CONTROL b/ports/luabridge/CONTROL
new file mode 100644
index 000000000..595e3b113
--- /dev/null
+++ b/ports/luabridge/CONTROL
@@ -0,0 +1,3 @@
+Source: luabridge
+Version: 2.1-1
+Description: A lightweight, dependency-free library for binding Lua to C++
diff --git a/ports/luabridge/portfile.cmake b/ports/luabridge/portfile.cmake
new file mode 100644
index 000000000..6ff91dd3a
--- /dev/null
+++ b/ports/luabridge/portfile.cmake
@@ -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
+)