diff --git a/ports/aricpp/portfile.cmake b/ports/aricpp/portfile.cmake new file mode 100644 index 00000000000000..816a9e6f46f02f --- /dev/null +++ b/ports/aricpp/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO daniele77/aricpp + REF v1.1.1 + SHA512 b1e02b9ba9afc1f3315e238cd61b98a8d28eee08ddbaccaf171aa77d27ecec2b3abfaa5aae6905f9c2a1c83b0095a135f2186c977a0ae0cfafb48e3690814183 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH} +) + +vcpkg_cmake_install() + +vcpkg_copy_pdbs() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/aricpp) + +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/ports/aricpp/vcpkg.json b/ports/aricpp/vcpkg.json new file mode 100644 index 00000000000000..ee76880bff46a3 --- /dev/null +++ b/ports/aricpp/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "aricpp", + "version-semver": "1.1.1", + "description": "Asterisk ARI interface bindings for modern C++", + "homepage": "https://github.com/daniele77/aricpp", + "dependencies": [ + "boost-asio", + "boost-beast", + "boost-system", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/a-/aricpp.json b/versions/a-/aricpp.json new file mode 100644 index 00000000000000..36bcbe95b469c7 --- /dev/null +++ b/versions/a-/aricpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "6bab43826055b88429107ef725b3c98fdded73ee", + "version-semver": "1.1.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 8ab78f030b4adb..417471380a5e1d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -136,6 +136,10 @@ "baseline": "0.3.1", "port-version": 0 }, + "aricpp": { + "baseline": "1.1.1", + "port-version": 0 + }, "armadillo": { "baseline": "10.4.0", "port-version": 0