diff options
| -rw-r--r-- | ports/simpleini/CONTROL | 3 | ||||
| -rw-r--r-- | ports/simpleini/portfile.cmake | 14 |
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)
|
