aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Tassoux <contact@rt2.fr>2020-01-06 23:53:56 +0100
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 14:53:56 -0800
commit1328990e56131256db4b877c3f8b48d30f758335 (patch)
treef41d13f754f8a999931dfa298a21fbefe194caed
parent153cab79c76175118f5b5d28135a57e00ae75a8d (diff)
downloadvcpkg-1328990e56131256db4b877c3f8b48d30f758335.tar.gz
vcpkg-1328990e56131256db4b877c3f8b48d30f758335.zip
[yas] Initial port (#8891)
* [yas] Initial port * [yas] vcpkg conformance fixes * [yas] Fix wrong license * [yas] Remove unused license file
-rw-r--r--ports/yas/CONTROL4
-rw-r--r--ports/yas/portfile.cmake11
2 files changed, 15 insertions, 0 deletions
diff --git a/ports/yas/CONTROL b/ports/yas/CONTROL
new file mode 100644
index 000000000..46baf2fda
--- /dev/null
+++ b/ports/yas/CONTROL
@@ -0,0 +1,4 @@
+Source: yas
+Version: 7.0.4
+Homepage: https://github.com/niXman/yas
+Description: Yet Another Serialization is a header only serialization library
diff --git a/ports/yas/portfile.cmake b/ports/yas/portfile.cmake
new file mode 100644
index 000000000..45ef71d74
--- /dev/null
+++ b/ports/yas/portfile.cmake
@@ -0,0 +1,11 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO niXman/yas
+ REF 572d6b4c405ce2c808c06a5bb88a66b0b98b85a5
+ SHA512 3cc9df7b5d286c7c08350737677b71e255fdd60af52e56b975289ce8ad857cca374a907c5eea83da0240fbf2a92c960af26648df9fa11da7106ea630b8ddc10f
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/include/yas DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(INSTALL ${SOURCE_PATH}/include/yas/version.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)