summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2022-10-26 01:15:02 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2022-10-26 01:15:02 +0300
commit2494b9647f5defd40d34722dbe316a00a394f73c (patch)
treee3a35fe898ee064150807e745860b015ee6936dd /dev-cpp/amqp-cpp
parentdev-java/commons-text: drop 1.9 (diff)
downloadgentoo-2494b9647f5defd40d34722dbe316a00a394f73c.tar.gz
gentoo-2494b9647f5defd40d34722dbe316a00a394f73c.tar.bz2
gentoo-2494b9647f5defd40d34722dbe316a00a394f73c.zip
dev-cpp/amqp-cpp: add 4.3.18
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'dev-cpp/amqp-cpp')
-rw-r--r--dev-cpp/amqp-cpp/Manifest1
-rw-r--r--dev-cpp/amqp-cpp/amqp-cpp-4.3.18.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/amqp-cpp/Manifest b/dev-cpp/amqp-cpp/Manifest
index 33d46fd79d06..728c975bbb29 100644
--- a/dev-cpp/amqp-cpp/Manifest
+++ b/dev-cpp/amqp-cpp/Manifest
@@ -1,2 +1,3 @@
DIST AMQP-CPP-4.3.16.tar.gz 158954 BLAKE2B 175c5c22a88e20ca5d123fbf808a354a0b3048a0127ba75170b61e8c8822ba8d8b78cb4247cb26cfeebff92c0ca74213d6fb254afbc74e9f92a88751137e8c97 SHA512 bdce6a93f3b88a0ab26dae66e289f98194d0f1a3e2eb03e0c858111275a02ebec042dfe9d757989a1c0cbe1b15652346f86008bf4248e366d1896c4750d9194f
DIST AMQP-CPP-4.3.17.tar.gz 160729 BLAKE2B 963b32e4736627da3eece481168565136ad6fd387e71a04de9d08664b6877a38e084e27f482c2c24886bff5c78dcdf266fab88189dc2eef85f3b50d15d020565 SHA512 763e9a3d6565584753a5bcd8f4e8b174327f206e01f001ae8b4b7d1728ccebf195cd2d4463a8b65badc1a91010978360f6f5c25fd3acf70116b5ff7eba2db7f6
+DIST AMQP-CPP-4.3.18.tar.gz 160732 BLAKE2B 3c3d77772c21dcd461cf92b67d7e8cfac5a2052a81aade2fd00eca75d4991f9cfc6cfa397924361a7a8a28accb98153c2a50bda259726e81513a1d910390f3d5 SHA512 950d84a769ccbbf146be617297e81d8f036096bcbe5ca520d4b909549bf8d74fc576eec90a1fafb164b86c9eb693c3ae29d884c3a30749f04440646549ffe5ce
diff --git a/dev-cpp/amqp-cpp/amqp-cpp-4.3.18.ebuild b/dev-cpp/amqp-cpp/amqp-cpp-4.3.18.ebuild
new file mode 100644
index 000000000000..33a052a82f5f
--- /dev/null
+++ b/dev-cpp/amqp-cpp/amqp-cpp-4.3.18.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN=${PN^^}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="AMQP-CPP is a C++ library for communicating with a RabbitMQ message broker"
+HOMEPAGE="https://github.com/CopernicaMarketingSoftware/AMQP-CPP"
+SRC_URI="https://github.com/CopernicaMarketingSoftware/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+src_prepare() {
+ sed \
+ -e "s:DESTINATION lib:DESTINATION $(get_libdir):g" \
+ -e "s:DESTINATION cmake:DESTINATION $(get_libdir)/cmake/${PN/-/}:g" \
+ -i CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DAMQP-CPP_BUILD_SHARED=ON
+ -DAMQP-CPP_LINUX_TCP=ON
+ )
+
+ cmake_src_configure
+}