summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDavide Viti <d.viti@infosolution.it>2014-04-19 00:30:01 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-19 19:04:01 +0200
commitebff54e510890a35c31cee71fb6a21eb0d92e5b2 (patch)
treeb99a7b874d37edbe02de14cb9b106667cc8200a6 /package
parent57a283acba3664858b303902ae325ebbd7706a86 (diff)
downloadbuildroot-ebff54e510890a35c31cee71fb6a21eb0d92e5b2.tar.gz
buildroot-ebff54e510890a35c31cee71fb6a21eb0d92e5b2.zip
qhull: new package
Signed-off-by: Davide Viti <d.viti@infosolution.it> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/qhull/Config.in19
-rw-r--r--package/qhull/qhull.mk14
3 files changed, 34 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 748d28e1a7..44c35eaa67 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -820,6 +820,7 @@ source "package/p11-kit/Config.in"
source "package/poco/Config.in"
source "package/protobuf/Config.in"
source "package/protobuf-c/Config.in"
+source "package/qhull/Config.in"
source "package/schifra/Config.in"
source "package/startup-notification/Config.in"
source "package/tz/Config.in"
diff --git a/package/qhull/Config.in b/package/qhull/Config.in
new file mode 100644
index 0000000000..4f172bd95a
--- /dev/null
+++ b/package/qhull/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_QHULL
+ bool "qhull"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_PREFER_STATIC_LIB
+ help
+ Qhull computes the convex hull, Delaunay triangulation,
+ Voronoi diagram, halfspace intersection about a point,
+ furthest-site Delaunay triangulation, and furthest-site
+ Voronoi diagram. The source code runs in 2-d, 3-d, 4-d, and
+ higher dimensions. Qhull implements the Quickhull algorithm
+ for computing the convex hull. It handles roundoff errors
+ from floating point arithmetic. It computes volumes, surface
+ areas, and approximations to the convex hull.
+
+ http://www.qhull.org
+
+comment "qhull needs a toolchain w/ C++, dynamic library"
+ depends on !BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PREFER_STATIC_LIB
diff --git a/package/qhull/qhull.mk b/package/qhull/qhull.mk
new file mode 100644
index 0000000000..f2bc7711cd
--- /dev/null
+++ b/package/qhull/qhull.mk
@@ -0,0 +1,14 @@
+###############################################################################
+#
+# qhull
+#
+###############################################################################
+
+QHULL_VERSION = 60d55819729d7b49391dde0271e15a56c70992b9
+QHULL_SITE = git://gitorious.org/qhull/qhull.git
+QHULL_INSTALL_STAGING = YES
+QHULL_LICENSE = BSD-Style
+QHULL_LICENSE_FILES = COPYING.txt
+QHULL_CONF_OPT = -DCMAKE_BUILD_TYPE=Release
+
+$(eval $(cmake-package))
OpenPOWER on IntegriCloud