mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-cpp/amqp-cpp: Initial import
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
1
dev-cpp/amqp-cpp/Manifest
Normal file
1
dev-cpp/amqp-cpp/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST AMQP-CPP-4.3.10.tar.gz 156600 BLAKE2B 0453259e8d84b223fc8d36d4747b267a84d7db9daef55d13ff31d4c8cf1e5dd8efb87d9f83f7ff7554aa70c5000d6da45187ce03db09ff4c542bd5409d81ada8 SHA512 ef9a20cd066bbefc243d8d58dbded728e0c88f5c47134f835c50dfa01178b53200970333f0d56330c206f74aa7d7691556c3e4693d5276adb7e3bf4e66bcd057
|
||||
38
dev-cpp/amqp-cpp/amqp-cpp-4.3.10.ebuild
Normal file
38
dev-cpp/amqp-cpp/amqp-cpp-4.3.10.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
dev-cpp/amqp-cpp/metadata.xml
Normal file
11
dev-cpp/amqp-cpp/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user