Mercurial > mxe-octave
view src/of-octcdf.mk @ 4494:4114b5e41f82
jasper: Pass CPPFLAGS and LDFLAGS to configure.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 06 Oct 2017 10:16:39 -0400 |
parents | 1933a9113e65 |
children | 7d1e45c2f175 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. # NOTE: octcdf is now depreciated - use of netcdf is encouraged instead PKG := of-octcdf $(PKG)_IGNORE := $(PKG)_VERSION := 1.1.10 $(PKG)_CHECKSUM := 96efa6d45fe79480d7de090e759f19d8324cfd21 $(PKG)_REMOTE_SUBDIR := $(PKG)_SUBDIR := octcdf $(PKG)_FILE := octcdf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' $(PKG)_DEPS := netcdf ifeq ($(ENABLE_BINARY_PACKAGES),yes) $(PKG)_DEPS += $(OCTAVE_TARGET) endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ $(SED) -n 's,.*title="octcdf-\([0-9][^"]*\).tar.gz".*,\1,p' | \ head -1 endef define $(PKG)_BUILD $(OCTAVE_FORGE_PKG_BUILD) endef