Skip to content

Commit

Permalink
[librabbitmq] Update to use rabbitmq-config.cmake (#11733)
Browse files Browse the repository at this point in the history
* Update librabbitmq portfile to use rabbitmq-config.cmake

* Change version and update outdated vcpkg functions

* Capitalization error

Co-authored-by: Eric Huff <thegreaterici@gmail.com>
  • Loading branch information
trollham and Eric Huff authored Jun 12, 2020
1 parent ac5e475 commit ca52d42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ports/librabbitmq/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: librabbitmq
Version: 0.10.0
Version: 2020-06-03
Build-Depends: openssl
Homepage: https://github.com/alanxz/rabbitmq-c
Description: A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.
10 changes: 5 additions & 5 deletions ports/librabbitmq/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO alanxz/rabbitmq-c
REF ffe918a5fcef72038a88054dca3c56762b1953d4 # v0.10.0
SHA512 05756176feffc3ccff9bf4f8416191c382c9e5b51d7dd72664cea0407c847d50cb4048b8669415d879396c0c7e8c1c38c65a66a98701e55de09afed893abc5a0
REF d416b8b16d196085106cfe137a0ff6919a9f6752
SHA512 3fc137893fc18509a3e583cc8d40a8e91f219063237b9fd018a65cf14da188914ddba3a031c4bc033a886fed19fc6291d1b28b55458b9163eb6d20425b0474dc
HEAD_REF master
PATCHES
fix-uwpwarning.patch
Expand All @@ -24,7 +22,9 @@ vcpkg_configure_cmake(

vcpkg_install_cmake()

vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/rabbitmq-c TARGET_PATH share/rabbitmq-c)

vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
file(INSTALL ${SOURCE_PATH}/LICENSE-MIT DESTINATION ${CURRENT_PACKAGES_DIR}/share/librabbitmq RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE-MIT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

0 comments on commit ca52d42

Please sign in to comment.