summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-07-18 09:34:10 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-07-18 14:13:03 +0200
commit71338bc5389c1e0e9f1f88179055df9870ceb66e (patch)
treea9926869bdc38054dd6aca9b9a313ff2f9fa47b8 /dev-libs/urdfdom/urdfdom-0.4.2.ebuild
parentmedia-libs/x265: bump to 2.0; update subslot in live ebuild. (diff)
downloadgentoo-71338bc5389c1e0e9f1f88179055df9870ceb66e.tar.gz
gentoo-71338bc5389c1e0e9f1f88179055df9870ceb66e.tar.bz2
gentoo-71338bc5389c1e0e9f1f88179055df9870ceb66e.zip
dev-libs/urdfdom: bump to 0.4.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/urdfdom/urdfdom-0.4.2.ebuild')
-rw-r--r--dev-libs/urdfdom/urdfdom-0.4.2.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/urdfdom/urdfdom-0.4.2.ebuild b/dev-libs/urdfdom/urdfdom-0.4.2.ebuild
new file mode 100644
index 000000000000..da86cd0408a2
--- /dev/null
+++ b/dev-libs/urdfdom/urdfdom-0.4.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+SCM=""
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="git-r3"
+ EGIT_REPO_URI="https://github.com/ros/urdfdom"
+fi
+
+inherit ${SCM} cmake-utils
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64 ~arm"
+ SRC_URI="https://github.com/ros/urdfdom/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="URDF (U-Robot Description Format) library"
+HOMEPAGE="http://ros.org/wiki/urdf"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-libs/urdfdom_headers
+ >=dev-libs/console_bridge-0.3
+ dev-libs/tinyxml
+ dev-libs/boost:=[threads]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e 's/set(CMAKE_INSTALL_LIBDIR/#/' CMakeLists.txt || die
+ cmake-utils_src_prepare
+}