aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/aricpp
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/aricpp
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/aricpp')
-rw-r--r--vcpkg/ports/aricpp/portfile.cmake20
-rw-r--r--vcpkg/ports/aricpp/vcpkg.json20
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/aricpp/portfile.cmake b/vcpkg/ports/aricpp/portfile.cmake
new file mode 100644
index 0000000..dea44aa
--- /dev/null
+++ b/vcpkg/ports/aricpp/portfile.cmake
@@ -0,0 +1,20 @@
+# Header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO daniele77/aricpp
+ REF v1.2.1
+ SHA512 7070d2a4e69e9490445002244b532e2fb519bd0642e8d1f4a6e267b9d957274db7c370038c225349c4997b1e2e5c549b0a4fa19c1db30c4ea184de37ca8b9b4b
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/aricpp)
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/aricpp/vcpkg.json b/vcpkg/ports/aricpp/vcpkg.json
new file mode 100644
index 0000000..775794e
--- /dev/null
+++ b/vcpkg/ports/aricpp/vcpkg.json
@@ -0,0 +1,20 @@
+{
+ "name": "aricpp",
+ "version-semver": "1.2.1",
+ "description": "Asterisk ARI interface bindings for modern C++",
+ "homepage": "https://github.com/daniele77/aricpp",
+ "license": "BSL-1.0",
+ "dependencies": [
+ "boost-asio",
+ "boost-beast",
+ "boost-system",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}