2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2016 Sergey Avseyev
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 8.0.2
22 COMPONENT_PROJECT_URL
= http
://www.qhull.org
/
23 COMPONENT_SUMMARY
= General dimension convex hull programs
24 COMPONENT_DESCRIPTION
= Qhull is a general dimension convex hull program that reads a set of points from stdin
, and outputs the smallest convex set that contains the points to stdout. It also generates Delaunay triangulations
, Voronoi diagrams
, furthest-site Voronoi diagrams
, and halfspace intersections about a point.
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-2020-src-
$(COMPONENT_VERSION
).tgz
27 COMPONENT_ARCHIVE_HASH
= sha256
:b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e
28 COMPONENT_ARCHIVE_URL
= http
://www.qhull.org
/download
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/qhull
30 COMPONENT_CLASSIFICATION
= System
/Libraries
31 COMPONENT_LICENSE
= Qhull
32 COMPONENT_LICENSE_FILE
= COPYING.txt
34 include $(WS_MAKE_RULES
)/common.mk
36 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
37 CMAKE_OPTIONS
+= -DINCLUDE_INSTALL_DIR
:PATH
=$(CMAKE_INCLUDEDIR
)
38 CMAKE_OPTIONS
+= -DBIN_INSTALL_DIR
:PATH
=$(CMAKE_BINDIR.
$(BITS
))
39 CMAKE_OPTIONS
+= -DLIB_INSTALL_DIR
:PATH
=$(CMAKE_LIBDIR.
$(BITS
))
40 CMAKE_OPTIONS
+= -DCMAKE_SKIP_RPATH
=1
42 COMPONENT_TEST_TARGETS
= test
43 COMPONENT_TEST_ENV
= LD_LIBRARY_PATH
=$(PROTO_DIR
)/usr
/lib
/$(MACH64
) PATH
=$(PATH
):/usr
/lib
/$(MACH64
)
44 COMPONENT_TEST_TRANSFORMS
+= '-e "s/[0-9]*\.[0-9]* sec//" '
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= system
/library
48 REQUIRED_PACKAGES
+= system
/library
/math