Mercurial > mxe-octave
view src/of-nurbs.mk @ 4066:0962acdde3be
builld: allow out of source build
* Makefile.in: add TOP_BUILD_DIR var and use TOP_DIR=srcdir, TOP_BUILD_DIR=builddir, modify paths to use TOP_DIR where needed
* binary-dist-rules.mk: use TOP_DIR and TOP_BUILD_DIR where needed
* makeinst-script.sh: use script path to determine TOPDIR, use TOPDIR where needed
* src/default-octave.mk: install octave-version to builddir
* src/stable-octave.mk: install octave-version to builddir
* src/octave.mk: install octave-version to builddir
* tools/set-mxe-env.sh.in: update fir builddir and srcdir use
author | John Donoghue |
---|---|
date | Wed, 23 Dec 2015 08:11:04 -0500 |
parents | e9bc89b98054 |
children | 48ff10ecae2d |
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.10 $(PKG)_CHECKSUM := 92ae4351cbd61df0246822c5464968267712576e $(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