diff options
| author | Tobias Schwendemann <admin@lyrex.net> | 2018-02-19 17:41:25 +0100 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-02-19 08:41:25 -0800 |
| commit | 0e872e6bd193d0fbcd8597ee650ed097f6785407 (patch) | |
| tree | acc8f6084cf68926b62955be4b3cbd7ff6780068 | |
| parent | 1874e0108fe116dc7d04c1e64d419d76c847f300 (diff) | |
| download | vcpkg-0e872e6bd193d0fbcd8597ee650ed097f6785407.tar.gz vcpkg-0e872e6bd193d0fbcd8597ee650ed097f6785407.zip | |
[tinytoml] Initial port (#2836)
* [tinytoml] Initial port
This port works only using --head since no tags are provided by the
author.
* [tinytoml] Add stable REF and SHA512
| -rw-r--r-- | ports/tinytoml/CONTROL | 3 | ||||
| -rw-r--r-- | ports/tinytoml/portfile.cmake | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/tinytoml/CONTROL b/ports/tinytoml/CONTROL new file mode 100644 index 000000000..b656fccc4 --- /dev/null +++ b/ports/tinytoml/CONTROL @@ -0,0 +1,3 @@ +Source: tinytoml +Version: 20180219-1 +Description: A header only C++11 library for parsing TOML. diff --git a/ports/tinytoml/portfile.cmake b/ports/tinytoml/portfile.cmake new file mode 100644 index 000000000..9d7275cf2 --- /dev/null +++ b/ports/tinytoml/portfile.cmake @@ -0,0 +1,16 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mayah/tinytoml + + REF 8fe890978b3390de1fc1f26c2d6bf1711c700c5a + SHA512 c7302950c94001b5376009a08181589c7fb040d7c23343e3dbbdcf37caa0ce8f4319adb1899d946ecee3bfb7079dbe46689d6016d94fc08b610ed56fb1113b81 + + HEAD_REF master +) + +file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h") + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/tinytoml RENAME copyright) |
