Mercurial > mxe-octave
view src/of-netcdf.mk @ 4610:56a53d1315c0
Makefile.in: Prevent bad config for stable-octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 01 Mar 2018 09:24:49 -0500 |
parents | 7d1e45c2f175 |
children | d09fabbfdc17 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := of-netcdf $(PKG)_IGNORE := $(PKG)_VERSION := 1.0.11 $(PKG)_CHECKSUM := 904b15a7f22b0b4adb49d54500d196389e732f95 $(PKG)_REMOTE_SUBDIR := $(PKG)_SUBDIR := netcdf $(PKG)_FILE := netcdf-$($(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- 'https://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ $(SED) -n 's,.*title="netcdf-\([0-9][^"]*\).tar.gz".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)/src' && source ./autogen.sh $(OCTAVE_FORGE_PKG_BUILD) endef