diff --git a/ports/simpleini/CONTROL b/ports/simpleini/CONTROL index d6a2c2a0b0f..0b51f526847 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 e8060adad8a..46f1d256256 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)