blob: a099cc24a37f5be8bf163208b9801891362b4fc0 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
MY_PN=Box2D
CMAKE_MIN_VERSION=2.8
inherit cmake-utils eutils
DESCRIPTION="Box2D is an open source physics engine written primarily for games."
HOMEPAGE="http://www.box2d.org"
SRC_URI="https://box2d.googlecode.com/files/${MY_PN}_v${PV}.7z"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="media-libs/freeglut
app-arch/unzip"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_PN}_v${PV}/${MY_PN}
src_configure() {
mycmakeargs="${mycmakeargs} -DBOX2D_BUILD_SHARED=ON"
cmake-utils_src_configure
}
|