diff options
| author | Rémy Tassoux <rt2@rt2.fr> | 2018-01-04 04:48:49 +0100 |
|---|---|---|
| committer | Rémy Tassoux <rt2@rt2.fr> | 2018-01-04 04:48:49 +0100 |
| commit | 89400e8bd675752afa244961ee1aab0aaa9618b4 (patch) | |
| tree | c3184bd93781c44684fb961e6dbd10ef1d1a85ce | |
| parent | b899067edba25c5464a96a5dd2c5cfac5901b785 (diff) | |
| download | vcpkg-89400e8bd675752afa244961ee1aab0aaa9618b4.tar.gz vcpkg-89400e8bd675752afa244961ee1aab0aaa9618b4.zip | |
[chaiscript] Initial port
| -rw-r--r-- | ports/chaiscript/CONTROL | 3 | ||||
| -rw-r--r-- | ports/chaiscript/portfile.cmake | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/ports/chaiscript/CONTROL b/ports/chaiscript/CONTROL new file mode 100644 index 000000000..7d6197531 --- /dev/null +++ b/ports/chaiscript/CONTROL @@ -0,0 +1,3 @@ +Source: chaiscript +Version: 6.0.0 +Description: Embedded Scripting Language Designed for C++ diff --git a/ports/chaiscript/portfile.cmake b/ports/chaiscript/portfile.cmake new file mode 100644 index 000000000..3103eb302 --- /dev/null +++ b/ports/chaiscript/portfile.cmake @@ -0,0 +1,25 @@ +# Common Ambient Variables: +# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT} +# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET} +# CURRENT_PORT_DIR = ${VCPKG_ROOT_DIR}\ports\${PORT} +# PORT = current port name (zlib, etc) +# TARGET_TRIPLET = current triplet (x86-windows, x64-windows-static, etc) +# VCPKG_CRT_LINKAGE = C runtime linkage type (static, dynamic) +# VCPKG_LIBRARY_LINKAGE = target library linkage type (static, dynamic) +# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg> +# VCPKG_TARGET_ARCHITECTURE = target architecture (x64, x86, arm) +# +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ChaiScript/ChaiScript + REF v6.0.0 + SHA512 612c175b9ee357512addcbe9ce0e2b9c34c40a45b5be85a3f75e2c0d391bc845996e2559c401e4899088b3e641c6c5b34af233bf2fd48d4de4531ea2815e2a96 + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/chaiscript RENAME copyright) |
