summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/box2d/Manifest2
-rw-r--r--dev-libs/box2d/box2d-2.1.2.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/box2d/Manifest b/dev-libs/box2d/Manifest
index 0afad94..c41e56c 100644
--- a/dev-libs/box2d/Manifest
+++ b/dev-libs/box2d/Manifest
@@ -1,4 +1,6 @@
AUX box2d-2.0.1-gcc4.patch 809 RMD160 2af0a29c3a8b9a09901939bcfbb27fe185c26fc1 SHA1 57115719f6de29b8601e2faddbe482c2a9a1dc29 SHA256 5aa81532c9039b9fdfa44dab6dac9cae4815731227e6a46d3a5fe12cb1acce0e
DIST Box2D_v2.0.1.zip 866019 RMD160 4a1e4b62c814b9a562d1ca6b580bfec83a7ad8a9 SHA1 27a1a0bd08c81bbf661fa008645ee5c538bb2767 SHA256 62857048aa089b558561074154430883cee491eedd71247f75f488cba859e21f
+DIST Box2D_v2.1.2.zip 3100922 RMD160 1a9d608ba762863a456cf8e3380bf1e19e3b07fd SHA1 b1f09f38fc130ae6c17e1767747a3a82bf8e517f SHA256 3b351c3e51c6bf78c3e48a2b51260297f3f309fde389c9bfc21ebd484efbba54
EBUILD box2d-2.0.1.ebuild 1221 RMD160 7772f08ca06649d2120ea73f8e7620b513741e1d SHA1 23651e7b971c0a89bf31d99266fed829d31bed81 SHA256 c0e8a8967816b395d931413cb35060a9cf8f9c1c975013447ad9e19a20cc51d6
+EBUILD box2d-2.1.2.ebuild 650 RMD160 56e530b9b2ca7b6e5c8ff784662e8278e9661670 SHA1 a9106ee2956cf9db990029d7f1157c749556e6dd SHA256 1eca7cdecf9eeebc75c8e632d5109a4faa84a436540ecb6ac7e962deccd3d15e
MISC metadata.xml 249 RMD160 220cde0fc1a8d7d355705f0f6772bd8d77cdc17a SHA1 34b33eb8d24cd8bfef2ddfb8e80334fd77cc9488 SHA256 3875fd5008d7f5bfe7f3cf7bf330c209a5034f5988d37c1699fb3be35a7be906
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
+}
+