summaryrefslogtreecommitdiff
blob: 4163a4c7ee413c57284faa98453830642ef21875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/sdformat/sdformat-2.3.2.ebuild,v 1.1 2015/04/14 12:41:19 aballier Exp $

EAPI=5

inherit cmake-utils versionator vcs-snapshot

DESCRIPTION="Simulation Description Format (SDF) parser"
HOMEPAGE="http://sdformat.org/"
SRC_URI="https://bitbucket.org/osrf/sdformat/get/${PN}$(get_major_version)_${PV}.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
"
S="${WORKDIR}/${PN}$(get_major_version)_${PV}"

src_configure() {
	local mycmakeargs=(
		"-DUSE_UPSTREAM_CFLAGS=OFF"
		"-DUSE_EXTERNAL_URDF=ON"
		"-DUSE_EXTERNAL_TINYXML=ON"
	)
	cmake-utils_src_configure
}