diff options
| author | Rémy Tassoux <rt2@rt2.fr> | 2018-01-04 05:02:59 +0100 |
|---|---|---|
| committer | Rémy Tassoux <rt2@rt2.fr> | 2018-01-04 05:02:59 +0100 |
| commit | 4351c4a6484e25637c4e9efed35481291d5a3cf0 (patch) | |
| tree | 5d07d667efdc64f5c8b2c79f0da10389a41ab9a5 /ports/rs-core-lib | |
| parent | b899067edba25c5464a96a5dd2c5cfac5901b785 (diff) | |
| download | vcpkg-4351c4a6484e25637c4e9efed35481291d5a3cf0.tar.gz vcpkg-4351c4a6484e25637c4e9efed35481291d5a3cf0.zip | |
[unicorn-lib][rs-core-lib] Initial port
Diffstat (limited to 'ports/rs-core-lib')
| -rw-r--r-- | ports/rs-core-lib/CONTROL | 4 | ||||
| -rw-r--r-- | ports/rs-core-lib/portfile.cmake | 25 |
2 files changed, 29 insertions, 0 deletions
diff --git a/ports/rs-core-lib/CONTROL b/ports/rs-core-lib/CONTROL new file mode 100644 index 000000000..f19aa7914 --- /dev/null +++ b/ports/rs-core-lib/CONTROL @@ -0,0 +1,4 @@ +Source: rs-core-lib +Version: commit-1ed2dadbda3977b13e5e83cc1f3eeca76b36ebe5 +Description: Minimal common utilities by Ross Smith + diff --git a/ports/rs-core-lib/portfile.cmake b/ports/rs-core-lib/portfile.cmake new file mode 100644 index 000000000..78ad34335 --- /dev/null +++ b/ports/rs-core-lib/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 CaptainCrowbar/rs-core-lib + REF 1ed2dadbda3977b13e5e83cc1f3eeca76b36ebe5 + SHA512 f84803fdd26f36b2a3748b9668253f058376e19740bc85e009726142b0b1f5906423729d9b71b224a995869a428a7e1e7b1f8afae897d416d9dfc1708b41975a + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/rs-core DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*.hpp") + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE.TXT DESTINATION ${CURRENT_PACKAGES_DIR}/share/rs-core-lib RENAME copyright)
\ No newline at end of file |
