summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/Manifest.gzbin10046 -> 10216 bytes
-rw-r--r--dev-cpp/amqp-cpp/Manifest3
-rw-r--r--dev-cpp/amqp-cpp/amqp-cpp-4.3.10.ebuild38
-rw-r--r--dev-cpp/amqp-cpp/metadata.xml11
4 files changed, 52 insertions, 0 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz
index 147acfc15150..120e0f59a60b 100644
--- a/dev-cpp/Manifest.gz
+++ b/dev-cpp/Manifest.gz
Binary files differ
diff --git a/dev-cpp/amqp-cpp/Manifest b/dev-cpp/amqp-cpp/Manifest
new file mode 100644
index 000000000000..34e84f6fd92d
--- /dev/null
+++ b/dev-cpp/amqp-cpp/Manifest
@@ -0,0 +1,3 @@
+DIST AMQP-CPP-4.3.10.tar.gz 156600 BLAKE2B 0453259e8d84b223fc8d36d4747b267a84d7db9daef55d13ff31d4c8cf1e5dd8efb87d9f83f7ff7554aa70c5000d6da45187ce03db09ff4c542bd5409d81ada8 SHA512 ef9a20cd066bbefc243d8d58dbded728e0c88f5c47134f835c50dfa01178b53200970333f0d56330c206f74aa7d7691556c3e4693d5276adb7e3bf4e66bcd057
+EBUILD amqp-cpp-4.3.10.ebuild 881 BLAKE2B df9620265df8faa25fda70e29a8139af379ec90e1fa3f0d92b0ee849abe3439002f9eb47c085ea451407db830434b9d030a402d5dbe319a1635be65bc1cc21e1 SHA512 3cf77447f395533ba474137a3f87ea5b0445eb9326c8f1b5e64add515a26c88c39482b04716eef7b3ff890655d07e653bd63a25936c3533cb676560c53062ad2
+MISC metadata.xml 348 BLAKE2B 29b53174f65d22e7ad469c2739a73408704894ace6178af09de74ff9c000cafb84504ca7e2216ce05147445df06395c7e866f17ecde134479d2334a1cb74be14 SHA512 ccb1b80ee5fe043328df1410b25032be9f8e794a5046a6429b583c2e9a8aa1801add7a44ca3a9b0343857ba47aa4717dbbc2a320744aee430edc467e8cffef2a
diff --git a/dev-cpp/amqp-cpp/amqp-cpp-4.3.10.ebuild b/dev-cpp/amqp-cpp/amqp-cpp-4.3.10.ebuild
new file mode 100644
index 000000000000..ac7156b38809
--- /dev/null
+++ b/dev-cpp/amqp-cpp/amqp-cpp-4.3.10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed \
+ -e "s:DESTINATION cmake:DESTINATION share/cmake/${MY_PN}:g" \
+ -e "s:DESTINATION lib:DESTINATION $(get_libdir):g" \
+ -i CMakeLists.txt || die
+ cmake_src_prepare
+ default
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DAMQP-CPP_BUILD_SHARED=ON
+ -DAMQP-CPP_LINUX_TCP=ON
+ )
+ cmake-multilib_src_configure
+}
diff --git a/dev-cpp/amqp-cpp/metadata.xml b/dev-cpp/amqp-cpp/metadata.xml
new file mode 100644
index 000000000000..80be568fdff2
--- /dev/null
+++ b/dev-cpp/amqp-cpp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">CopernicaMarketingSoftware/AMQP-CPP</remote-id>
+ </upstream>
+</pkgmetadata>