[sprout] Add new port (#6997)

This commit is contained in:
myd7349 2019-06-25 04:23:55 +08:00 committed by Robert Schumacher
parent 9e565e9867
commit 92a86a1e54
2 changed files with 21 additions and 0 deletions

5
ports/sprout/CONTROL Normal file
View File

@ -0,0 +1,5 @@
Source: sprout
Version: 2019-06-20
Homepage: https://github.com/bolero-MURAKAMI/Sprout
Description: C++11/14 constexpr based Containers, Algorithms, Random numbers, Parsing, Ray tracing, Synthesizer, and others
Build-Depends: boost-array, boost-mpl

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bolero-MURAKAMI/Sprout
REF 6b5addba9face0a6403e66e7db2aa94d87387f61
SHA512 b81c299842c48626a7fbedb5b70932623ddb128bd5c71115269253b2c82a331d4f5d5adeab24529be2c886d293de96c15c9641280b4eb31bd60379b284556900
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/sprout DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)