diff options
| author | myd7349 <myd7349@gmail.com> | 2019-06-25 04:23:55 +0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2019-06-24 13:23:55 -0700 |
| commit | 92a86a1e54359edaf17eadf5784078d671304fb6 (patch) | |
| tree | c00ce0993bcc1d08e007e3c19c1c92355010be5c | |
| parent | 9e565e986789cf273de12fe1b07ce31800d10417 (diff) | |
| download | vcpkg-92a86a1e54359edaf17eadf5784078d671304fb6.tar.gz vcpkg-92a86a1e54359edaf17eadf5784078d671304fb6.zip | |
[sprout] Add new port (#6997)
| -rw-r--r-- | ports/sprout/CONTROL | 5 | ||||
| -rw-r--r-- | ports/sprout/portfile.cmake | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ports/sprout/CONTROL b/ports/sprout/CONTROL new file mode 100644 index 000000000..67240a5e1 --- /dev/null +++ b/ports/sprout/CONTROL @@ -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
diff --git a/ports/sprout/portfile.cmake b/ports/sprout/portfile.cmake new file mode 100644 index 000000000..7be1c1985 --- /dev/null +++ b/ports/sprout/portfile.cmake @@ -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)
|
