diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/sdformat/sdformat-5.2.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/sdformat/sdformat-5.2.0.ebuild')
-rw-r--r-- | dev-libs/sdformat/sdformat-5.2.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/sdformat/sdformat-5.2.0.ebuild b/dev-libs/sdformat/sdformat-5.2.0.ebuild new file mode 100644 index 000000000000..c3c7512d27ef --- /dev/null +++ b/dev-libs/sdformat/sdformat-5.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Simulation Description Format (SDF) parser" +HOMEPAGE="http://sdformat.org/" +SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2" + +LICENSE="Apache-2.0" +# subslot = libsdformat major +SLOT="0/5" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + >=dev-libs/urdfdom-1:= + dev-libs/tinyxml + dev-libs/boost:= + sci-libs/ignition-math:3= +" +DEPEND="${RDEPEND} + dev-lang/ruby:* + virtual/pkgconfig +" +CMAKE_BUILD_TYPE=RelWithDebInfo +PATCHES=( "${FILESDIR}/urdfdom1.patch" ) + +src_configure() { + 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 + local mycmakeargs=( + "-DUSE_EXTERNAL_URDF=ON" + "-DUSE_EXTERNAL_TINYXML=ON" + ) + cmake-utils_src_configure +} |