view src/of-netcdf.mk @ 4121:1c3be8c68d3f

makeinst-script.mk: correct spelling in Win10 warning dialog. * makeinst-script.sh: welcom => welcome
author John Donoghue <john.donoghue@ieee.org>
date Sat, 02 Apr 2016 15:48:58 -0400
parents 4970d27d3e12
children 05523ddd7961
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.9
$(PKG)_CHECKSUM := 640449f8449d4118e43c614c2bfd78ea849a075a
$(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

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/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
    $(OCTAVE_FORGE_PKG_BUILD)
endef