aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/simpleini/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/simpleini/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/simpleini/portfile.cmake')
-rw-r--r--vcpkg/ports/simpleini/portfile.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/simpleini/portfile.cmake b/vcpkg/ports/simpleini/portfile.cmake
new file mode 100644
index 0000000..13ea5e1
--- /dev/null
+++ b/vcpkg/ports/simpleini/portfile.cmake
@@ -0,0 +1,19 @@
+# header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO brofield/simpleini
+ REF "v${VERSION}"
+ SHA512 6c198636816a0018adbf7f735d402c64245c6fcd540b7360d4388d46f007f3a520686cdaec4705cb8cb31401b2cb4797a80b42ea5d08a6a5807c0848386f7ca1
+ HEAD_REF master
+)
+
+# 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)
+
+# copyright
+file(INSTALL "${SOURCE_PATH}/LICENCE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)