c9012ac8e6
- Static libs are supported since version 8.0.2 and613debeaea
- Update hash of COPYING, update year and authors with4733a95be0
- Update indentation in hash file (two spaces) https://github.com/qhull/qhull/releases/tag/v8.0.2 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
843 B
Makefile
26 lines
843 B
Makefile
################################################################################
|
|
#
|
|
# qhull
|
|
#
|
|
################################################################################
|
|
|
|
QHULL_VERSION = 8.0.2
|
|
QHULL_SITE = http://www.qhull.org/download
|
|
QHULL_SOURCE = qhull-2020-src-$(QHULL_VERSION).tgz
|
|
QHULL_INSTALL_STAGING = YES
|
|
QHULL_LICENSE = BSD-Style
|
|
QHULL_LICENSE_FILES = COPYING.txt
|
|
|
|
# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
|
|
# although BUILD_STATIC_LIBS=ON is default, make it explicit,
|
|
# cmake and static/shared libs is confusing enough already.
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
|
|
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|