summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/ignition-msgs/ignition-msgs-0.6.0.ebuild')
-rw-r--r--net-libs/ignition-msgs/ignition-msgs-0.6.0.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-libs/ignition-msgs/ignition-msgs-0.6.0.ebuild b/net-libs/ignition-msgs/ignition-msgs-0.6.0.ebuild
new file mode 100644
index 000000000000..9532a49e2a5d
--- /dev/null
+++ b/net-libs/ignition-msgs/ignition-msgs-0.6.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Protobuf messages and functions for robot applications"
+HOMEPAGE="http://ignitionrobotics.org/libraries/messages https://bitbucket.org/ignitionrobotics/ign-msgs"
+SRC_URI="https://osrf-distributions.s3.amazonaws.com/ign-msgs/releases/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-libs/protobuf:="
+RDEPEND="${DEPEND}"
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+src_configure() {
+ # upstream appends this conditionally...
+ append-flags "-fPIC"
+ echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake"
+ sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die
+ cmake-utils_src_configure
+}