summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-27 12:00:59 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-27 12:01:27 +0200
commit85c9613983fc37715f27474850c4e6ce9e64a542 (patch)
tree43a3cf03fcd79a2e83cdc47550ae1aa66df1772b /sci-libs/ignition-math
parentros-meta/robot_model: Remove old (diff)
downloadgentoo-85c9613983fc37715f27474850c4e6ce9e64a542.tar.gz
gentoo-85c9613983fc37715f27474850c4e6ce9e64a542.tar.bz2
gentoo-85c9613983fc37715f27474850c4e6ce9e64a542.zip
sci-libs/ignition-math: Bump to 3.2.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-libs/ignition-math')
-rw-r--r--sci-libs/ignition-math/Manifest1
-rw-r--r--sci-libs/ignition-math/ignition-math-3.2.0.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/sci-libs/ignition-math/Manifest b/sci-libs/ignition-math/Manifest
index aa61d154cf60..8b80fe7ea4b3 100644
--- a/sci-libs/ignition-math/Manifest
+++ b/sci-libs/ignition-math/Manifest
@@ -1 +1,2 @@
DIST ignition-math3_3.1.0.tar.bz2 378840 SHA256 1c527afdcbf42ff55e5621ff0e6d38100fc6144a73ef6d9321fe22d782be4887 SHA512 c4ffdd7ab6eb8437068e60b5ffa54465ea9d3185c04c3f2667bb9dc15051a6ace5a8452532af15f05b883ff0d3065de367bba28a8fdf2444fb39d8263d6c6e3f WHIRLPOOL eaf74ed192de50f7421f92778b7b3d4e38e3fbe3d0e277328e6f999223b3e3c1b70445317be537818ddbcdde89204a3d0b71a9b19b0db3761e0f242542247b97
+DIST ignition-math3_3.2.0.tar.bz2 382201 SHA256 929794ababed10c92d7217973e1d268a9de4a51dae80c401c6d1333ff65f7f89 SHA512 ffb5d61105ba0951c6420c53d64b47bdd65bdcac17e8ef2ce7cb83aeb2310280e5acb4d029d1af5c05fb5c40accf05df61d1e04dc990225159f1749284e3dcf1 WHIRLPOOL 300279c839246ab892c79cdf4dbe0a59a188f9e0ca10b0980e0dd3bbcbe11ea776bcfacae3c7c56b0d7d4d991183235db0addd688d5f44129ca216c96e74d451
diff --git a/sci-libs/ignition-math/ignition-math-3.2.0.ebuild b/sci-libs/ignition-math/ignition-math-3.2.0.ebuild
new file mode 100644
index 000000000000..eef3870ff944
--- /dev/null
+++ b/sci-libs/ignition-math/ignition-math-3.2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils vcs-snapshot flag-o-matic
+
+DESCRIPTION="A small, fast, and high performance math library for robot applications"
+HOMEPAGE="http://ignitionrobotics.org/libraries/math"
+SRC_URI="https://bitbucket.org/ignitionrobotics/ign-math/get/${PN}3_${PV}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="3/3"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}3_${PV}"
+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
+}