diff options
| author | Daniele Pallastrelli <5451767+daniele77@users.noreply.github.com> | 2021-06-03 22:11:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-03 13:11:37 -0700 |
| commit | 2da3434b40d3a8cac43bf2541d846ec93787e204 (patch) | |
| tree | 3bc15466dd93dd6d083500d5d3fb115d2b518315 /ports | |
| parent | 8129af76d6cf50ce4ba9a69432bc2f3e8ebb305a (diff) | |
| download | vcpkg-2da3434b40d3a8cac43bf2541d846ec93787e204.tar.gz vcpkg-2da3434b40d3a8cac43bf2541d846ec93787e204.zip | |
[aricpp] new port (#18048)
* [cli] Update the version to 1.1.1
* [cli] Update the version to 1.2.1
* [cli] Update the version to 1.2.1: fix PR requests
* [aricpp] create a new port (#17162)
* [cli] run the command: ./vcpkg x-add-version --all
* [aricpp] change request for #18048
* Update ports/aricpp/portfile.cmake
* [aricpp] change request for #18048
* Update ports/aricpp/vcpkg.json
* Update ports/aricpp/vcpkg.json
* Update versions/a-/aricpp.json
* Update versions/a-/aricpp.json
* [aricpp] port-version -> 0
Co-authored-by: Daniele Pallastrelli <daniele.pallastrelli@sadel.it>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/aricpp/portfile.cmake | 19 | ||||
| -rw-r--r-- | ports/aricpp/vcpkg.json | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/ports/aricpp/portfile.cmake b/ports/aricpp/portfile.cmake new file mode 100644 index 000000000..816a9e6f4 --- /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 000000000..ee76880bf --- /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 + } + ] +} |
