Mercurial > mxe-octave
annotate src/qhull.mk @ 4336:0641ed0cbc53
qhull: dont install docs
* src/qhull.mk: add MXE_DISABLE_DOCS in make install
author | John D |
---|---|
date | Tue, 17 Jan 2017 07:32:34 -0500 |
parents | 768c5d4c5b4e |
children | c4e929fb081d |
rev | line source |
---|---|
2890
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := qhull |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3293
diff
changeset
|
6 $(PKG)_VERSION := 2009.1 |
2890
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := 108d59efa60b2ebaf94b121414c8f8b7b76a7409 |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := qhull-$($(PKG)_VERSION).tar.gz |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_URL := http://download.savannah.gnu.org/releases/qhull/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := |
2890
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
3887
768c5d4c5b4e
new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
13 ifeq ($(ENABLE_QHULL_NO_STRICT_ALIASING_FLAG),yes) |
768c5d4c5b4e
new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
14 $(PKG)_CONFIGURE_CFLAGS := CFLAGS="-O2 -g -fno-strict-aliasing" |
768c5d4c5b4e
new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
15 endif |
768c5d4c5b4e
new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 |
2890
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 define $(PKG)_UPDATE |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 echo 'Warning: Updates are temporarily disabled for package qhull.' >&2; |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 echo $(qhull_VERSION) |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 endef |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
2947
e18f5b46e77c
update libtool usage for qhull
John W. Eaton <jwe@octave.org>
parents:
2901
diff
changeset
|
23 cd '$(1)' && aclocal && libtoolize && autoreconf |
2890
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 mkdir '$(1)/.build' |
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 cd '$(1)/.build' && '$(1)/configure' \ |
2997 | 26 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3887
768c5d4c5b4e
new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
27 $($(PKG)_CONFIGURE_CFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2947
e18f5b46e77c
update libtool usage for qhull
John W. Eaton <jwe@octave.org>
parents:
2901
diff
changeset
|
29 $(ENABLE_SHARED_OR_STATIC) \ |
3097
ee6f302d0659
[MSVC] enable QHull compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
30 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) |
4336 | 31 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) |
2890
152e3e693568
Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 endef |