summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-11-29 10:49:06 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-11-29 13:18:39 +0100
commit8713448a418876f755bed733372a47b34ee4f9ac (patch)
treee0a5079188921b6579b54beff55cef16972317ad
parentnet-libs/ignition-transport: remove old (diff)
downloadgentoo-8713448a418876f755bed733372a47b34ee4f9ac.tar.gz
gentoo-8713448a418876f755bed733372a47b34ee4f9ac.tar.bz2
gentoo-8713448a418876f755bed733372a47b34ee4f9ac.zip
net-libs/ignition-msgs: initial import; ebuild by me
Package-Manager: portage-2.3.2
-rw-r--r--net-libs/ignition-msgs/Manifest1
-rw-r--r--net-libs/ignition-msgs/ignition-msgs-0.6.0.ebuild28
-rw-r--r--net-libs/ignition-msgs/metadata.xml8
3 files changed, 37 insertions, 0 deletions
diff --git a/net-libs/ignition-msgs/Manifest b/net-libs/ignition-msgs/Manifest
new file mode 100644
index 000000000000..9b3b7ad78b68
--- /dev/null
+++ b/net-libs/ignition-msgs/Manifest
@@ -0,0 +1 @@
+DIST ignition-msgs-0.6.0.tar.bz2 320820 SHA256 aaac3f5ffdbc0e81afde4aa2c297bec52293cfa4091adde9d6fd539089cfd269 SHA512 a7ca7d4fbb8f9d9b0abc786707936e275b4abdf1519a2d4d33dd217ec04b40658682e4c92d21030730b16cc7032653a51aea1f2de01b43a74d8e9f9d6c4e89ef WHIRLPOOL 17afca98bd8d2a37d1c6cbde9c4d97f2278cc0aa84611ea4e368b1259bf58e5ad554c3490fd8e1e83c3a584e697fea8cbb7ae5c377cb4f636610a2db24cc9200
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
+}
diff --git a/net-libs/ignition-msgs/metadata.xml b/net-libs/ignition-msgs/metadata.xml
new file mode 100644
index 000000000000..6ca4a599be8f
--- /dev/null
+++ b/net-libs/ignition-msgs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>aballier@gentoo.org</email>
+<name>Alexis Ballier</name>
+</maintainer>
+</pkgmetadata>