aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mailio
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/mailio
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/mailio')
-rw-r--r--vcpkg/ports/mailio/portfile.cmake25
-rw-r--r--vcpkg/ports/mailio/vcpkg.json24
2 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/mailio/portfile.cmake b/vcpkg/ports/mailio/portfile.cmake
new file mode 100644
index 0000000..9610369
--- /dev/null
+++ b/vcpkg/ports/mailio/portfile.cmake
@@ -0,0 +1,25 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO karastojko/mailio
+ REF "${VERSION}"
+ SHA512 550ab52400e3085d9dfeb1405ad34a5d26c65f9d0a9321933300da78e56e0469d2b79d1dd67559e3bdbf1f73899370d8feb7a9e9996bd309cbf4f8f9fd645605
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DMAILIO_BUILD_DOCUMENTATION=OFF
+ -DMAILIO_BUILD_EXAMPLES=OFF
+ -DMAILIO_BUILD_TESTS=OFF
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH lib/cmake/mailio
+)
+
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/mailio/vcpkg.json b/vcpkg/ports/mailio/vcpkg.json
new file mode 100644
index 0000000..2811438
--- /dev/null
+++ b/vcpkg/ports/mailio/vcpkg.json
@@ -0,0 +1,24 @@
+{
+ "name": "mailio",
+ "version": "0.25.3",
+ "maintainers": "Tomislav Karastojković <contact@alepho.com>",
+ "description": "mailio is a cross platform C++ library for MIME format and SMTP, POP3 and IMAP protocols. It is based on the standard C++ 17 and Boost library.",
+ "homepage": "https://github.com/karastojko/mailio",
+ "license": "BSD-2-Clause",
+ "supports": "!uwp",
+ "dependencies": [
+ "boost-asio",
+ "boost-date-time",
+ "boost-regex",
+ "boost-system",
+ "openssl",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}