You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.0 KiB
46 lines
1.0 KiB
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-games/simgear/simgear-3.4.0.ebuild,v 1.1 2015/02/25 00:29:43 reavertm Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils cmake-utils
|
|
|
|
DESCRIPTION="Development library for simulation games"
|
|
HOMEPAGE="http://www.simgear.org/"
|
|
SRC_URI="http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
SLOT="0"
|
|
IUSE="debug subversion test"
|
|
|
|
COMMON_DEPEND="
|
|
dev-libs/expat
|
|
>=dev-games/openscenegraph-3.2.0
|
|
media-libs/openal
|
|
sys-libs/zlib
|
|
virtual/opengl
|
|
"
|
|
DEPEND="${COMMON_DEPEND}
|
|
>=dev-libs/boost-1.44
|
|
"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
subversion? ( dev-vcs/subversion )
|
|
"
|
|
|
|
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-ENABLE_PKGUTIL=OFF
|
|
-DENABLE_RTI=OFF
|
|
-DENABLE_SOUND=ON
|
|
-DSIMGEAR_HEADLESS=OFF
|
|
-DSIMGEAR_SHARED=ON
|
|
-DSYSTEM_EXPAT=ON
|
|
$(cmake-utils_use_enable test TESTS)
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|