forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.20.1
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST sdformat-3.1.1.tar.bz2 414363 SHA256 4891bb042e0b91323b9f53af4d2ff376eb6fe08f5ff5050d3f82b00afc9f696c SHA512 62dd534144fed78ab17694dce8a6e465a5f61c98f57f3918b81f521a39289574c6a1c7f436054d50b31bbf8b53448e95e5c19fe2e198d8ab8aea795d5b61d5fa WHIRLPOOL 44a2f9e1e9f419f6ab40721a19bd294d8428b887a98f0fdb57f371e9ccb6c3a37a0f600f9612ee674c3a01ab0b9ac03876cf8236c57958a5577e0855a08d2b7a | ||
DIST sdformat2_2.3.2.tar.bz2 407034 SHA256 6207f90a29e6ba18bdeef116d98e92bfdbdaeb7f2a8cd40345727b6661be5998 SHA512 53e93ad69869072071293d6fc0ed840f84d8fff34f1fdf56465fe7d48f41f8fdb45723611b5be3776790717466883f602396c6eb9510a7e8f71ee1031d42140f WHIRLPOOL 0e592d44c12cd51be3bced7de472e268ba34da3b5ad03f85e0433fb0fd7d789cedfd8c746ad88b79c0fddf92c1bfca9aae4f97742dba293422adfadc1888ca50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit cmake-utils versionator vcs-snapshot | ||
|
||
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" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
dev-libs/urdfdom | ||
dev-libs/tinyxml | ||
dev-libs/boost:= | ||
" | ||
DEPEND="${RDEPEND} | ||
virtual/pkgconfig | ||
" | ||
CMAKE_BUILD_TYPE=RelWithDebInfo | ||
|
||
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 | ||
} |