aboutsummaryrefslogtreecommitdiff
path: root/ports/simpleini
diff options
context:
space:
mode:
authorBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
committerBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
commit230d795ae3c3f2e45821b887c6065a81a8c04326 (patch)
tree7b014a1547ff1cc9ef80add56eb03b17774a1ff6 /ports/simpleini
parent3d1fbeb7de48a3d7a782be7b8722efb5015c7010 (diff)
parent9b21ff9612916e24f89c6839599d3d50446597d8 (diff)
downloadvcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.tar.gz
vcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.zip
Merge branch 'master' of https://github.com/EMCECS/vcpkg
# Conflicts: # ports/ecsutil/CONTROL # ports/ecsutil/portfile.cmake
Diffstat (limited to 'ports/simpleini')
-rw-r--r--ports/simpleini/CONTROL3
-rw-r--r--ports/simpleini/portfile.cmake14
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/simpleini/CONTROL b/ports/simpleini/CONTROL
new file mode 100644
index 000000000..b0c70335f
--- /dev/null
+++ b/ports/simpleini/CONTROL
@@ -0,0 +1,3 @@
+Source: simpleini
+Version: 2018-08-31-1
+Description: Cross-platform C++ library providing a simple API to read and write INI-style configuration files
diff --git a/ports/simpleini/portfile.cmake b/ports/simpleini/portfile.cmake
new file mode 100644
index 000000000..508043cd1
--- /dev/null
+++ b/ports/simpleini/portfile.cmake
@@ -0,0 +1,14 @@
+# header-only library
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO brofield/simpleini
+ REF fe082fa81f4a55ddceb55056622136be616b3c6f
+ SHA512 9ba3fc0e5d4d426a7943a6783f3e66203d3b822a9ac6bc2b261e877f70e099495ad22e03fd6ad3dd7aab422192701b2b450ace750ebd3bc6b4e6266c6d15184d
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/simpleini.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(INSTALL ${SOURCE_PATH}/LICENCE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/simpleini RENAME copyright)