summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2015-04-24 21:46:11 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-25 11:09:41 +0200
commit176e408b36555ad56dc65c007e1fbba5dcc9ea36 (patch)
tree343800a8601c05fd8e70069445ec254eb6ae72b1
parent861cc84f8c7150d0578b8ec6189b4fec6c7d04e6 (diff)
downloadbuildroot-176e408b36555ad56dc65c007e1fbba5dcc9ea36.tar.gz
buildroot-176e408b36555ad56dc65c007e1fbba5dcc9ea36.zip
package/bullet: new package
[Thomas: - move package to 'Libraries -> Graphics' - wrap the Config.in help text - change license from "Zlib" to "zlib license" to match what the zlib package is doing.] Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/bullet/Config.in11
-rw-r--r--package/bullet/bullet.mk18
3 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index afa145eefe..7e25109710 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -750,6 +750,7 @@ endmenu
menu "Graphics"
source "package/atk/Config.in"
+ source "package/bullet/Config.in"
source "package/cairo/Config.in"
source "package/exiv2/Config.in"
source "package/fltk/Config.in"
diff --git a/package/bullet/Config.in b/package/bullet/Config.in
new file mode 100644
index 0000000000..fc285ab33a
--- /dev/null
+++ b/package/bullet/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_BULLET
+ bool "bullet"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ Bullet is a Collision Detection and Rigid Body Dynamics
+ Library.
+
+ http://bulletphysics.org
+
+comment "bullet needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/bullet/bullet.mk b/package/bullet/bullet.mk
new file mode 100644
index 0000000000..3ec97b4326
--- /dev/null
+++ b/package/bullet/bullet.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# bullet
+#
+################################################################################
+
+# This is the git id of the 2.82 release.
+BULLET_VERSION = 19f999ac087e68ffc2551ffb73e35e60271a0d27
+BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION))
+BULLET_INSTALL_STAGING = YES
+BULLET_LICENSE = zlib license
+BULLET_LICENSE_FILES = BulletLicense.txt COPYING
+
+# Disable GLUT support since there is no freeglut or OpenGLUT package and we
+# don't build the demos apps.
+BULLET_CONF_OPTS = -DUSE_GLUT=OFF -DBUILD_DEMOS=OFF
+
+$(eval $(cmake-package))
OpenPOWER on IntegriCloud