sci-libs/ignition-math - 6.0.0 (ros-overlay)

Search

Install

Install this version:

emerge -a =sci-libs/ignition-math-6.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-libs/ignition-math-6.0.0

Or alternatively:

emerge --autounmask-write -a =sci-libs/ignition-math-6.0.0

Package Information

Description:
A small, fast, and high performance math library for robot applications
Homepage:
http://ignitionrobotics.org/libraries/math
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
6.0.0 6 ~amd64 6/6
View Raw Ebuild
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

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}6_${PV}~pre4.tar.bz2"

LICENSE="Apache-2.0"
SLOT="6/6"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}6_${PV}~pre4"
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
}

Inherited Eclasses

Manifest for 6.0.0

Type File Size Source URLs
DIST ignition-math6_6.0.0~pre4.tar.bz2 406861 bytes https://bitbucket.org/ignitionrobotics/ign-math/get/ignition-math6_6.0.0~pre4.tar.bz2