aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-01-03 05:27:31 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-02 13:27:31 -0800
commitc7dfd5f83fe4f652d49d54e9193d5f6934aa16aa (patch)
treeef7ef878c78deac119cf6538922d33b8e08eee6c
parent8cab87ed93e641cb3f80918d55c3bce35cedd0c3 (diff)
downloadvcpkg-c7dfd5f83fe4f652d49d54e9193d5f6934aa16aa.tar.gz
vcpkg-c7dfd5f83fe4f652d49d54e9193d5f6934aa16aa.zip
[simpleini] Install missing code (#9429)
-rw-r--r--ports/simpleini/CONTROL3
-rw-r--r--ports/simpleini/portfile.cmake10
2 files changed, 11 insertions, 2 deletions
diff --git a/ports/simpleini/CONTROL b/ports/simpleini/CONTROL
index d6a2c2a0b..0b51f5268 100644
--- a/ports/simpleini/CONTROL
+++ b/ports/simpleini/CONTROL
@@ -1,3 +1,4 @@
Source: simpleini
-Version: 2018-08-31-3
+Version: 2018-08-31-4
+Homepage: https://github.com/brofield/simpleini
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
index e8060adad..46f1d2562 100644
--- a/ports/simpleini/portfile.cmake
+++ b/ports/simpleini/portfile.cmake
@@ -7,6 +7,14 @@ vcpkg_from_github(
HEAD_REF master
)
-file(COPY ${SOURCE_PATH}/SimpleIni.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+# Install codes
+set(SIMPLEINI_SOURCE ${SOURCE_PATH}/SimpleIni.h
+ ${SOURCE_PATH}/ConvertUTF.h
+ ${SOURCE_PATH}/ConvertUTF.c
+)
+
+file(INSTALL ${SIMPLEINI_SOURCE} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+# Install sample
+file(INSTALL ${SOURCE_PATH}/snippets.cpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/sample)
file(INSTALL ${SOURCE_PATH}/LICENCE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)