aboutsummaryrefslogtreecommitdiff
path: root/ports/simpleini
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
committerPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
commit7347305e8459fcc78553a9f88196e0d93eb0a8fe (patch)
treeac9eee9ff267c6a71a83249bed7a94f02b00d9a5 /ports/simpleini
parented9357a5aafea7192932b5874264bd103fc61255 (diff)
parent63c1b2628e958f8e02356411f032941c0c2f3bbb (diff)
downloadvcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.tar.gz
vcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/3425
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)