Mercurial > mxe-octave
view 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 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := of-nurbs $(PKG)_IGNORE := $(PKG)_VERSION := 1.3.9 $(PKG)_CHECKSUM := 4727f2e38486bdc8452d7657094fbdb7a3980ba5 $(PKG)_REMOTE_SUBDIR := $(PKG)_SUBDIR := nurbs $(PKG)_FILE := nurbs-$($(PKG)_VERSION).tar.gz $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' $(PKG)_DEPS := ifeq ($(USE_SYSTEM_GCC),no) $(PKG)_DEPS += libgomp endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ $(SED) -n 's,.*title="nurbs-\([0-9][^"]*\).tar.gz".*,\1,p' | \ head -1 endef define $(PKG)_BUILD $(OCTAVE_FORGE_PKG_BUILD) endef