diff options
Diffstat (limited to 'dev-libs/box2d/box2d-2.1.2.ebuild')
-rw-r--r-- | dev-libs/box2d/box2d-2.1.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/box2d/box2d-2.1.2.ebuild b/dev-libs/box2d/box2d-2.1.2.ebuild new file mode 100644 index 0000000..f0d1861 --- /dev/null +++ b/dev-libs/box2d/box2d-2.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +MY_PN=Box2D + +CMAKE_MIN_VERSION=2.8 +inherit cmake-utils eutils + + +IUSE="" + +DESCRIPTION="Box2D is an open source physics engine written primarily for games." +HOMEPAGE="http://www.box2d.org" +SRC_URI="http://box2d.googlecode.com/files/${MY_PN}_v${PV}.zip" + +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 +} + |