Mercurial > mxe-octave
annotate src/of-nurbs.mk @ 4007:8fc810f8ff93
conditionally depend on mpfr and libgomp
* of-interval.mk: Don't depend on mpfr if we are using the system GCC.
* of-nurbs.mk: Likewise for libgomp.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 05 Aug 2015 13:55:32 -0400 |
parents | 385f5f4412b7 |
children | e9bc89b98054 |
rev | line source |
---|---|
3899 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := of-nurbs | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.3.9 | |
7 $(PKG)_CHECKSUM := 4727f2e38486bdc8452d7657094fbdb7a3980ba5 | |
8 $(PKG)_REMOTE_SUBDIR := | |
9 $(PKG)_SUBDIR := nurbs | |
10 $(PKG)_FILE := nurbs-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
4007
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
3903
diff
changeset
|
12 $(PKG)_DEPS := |
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
3903
diff
changeset
|
13 ifeq ($(USE_SYSTEM_GCC),no) |
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
3903
diff
changeset
|
14 $(PKG)_DEPS += libgomp |
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
3903
diff
changeset
|
15 endif |
3899 | 16 |
17 define $(PKG)_UPDATE | |
18 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ | |
19 $(SED) -n 's,.*title="nurbs-\([0-9][^"]*\).tar.gz".*,\1,p' | \ | |
20 head -1 | |
21 endef | |
22 | |
23 define $(PKG)_BUILD | |
24 $(OCTAVE_FORGE_PKG_BUILD) | |
25 endef |