view src/of-octcdf.mk @ 3930:ae627bc6131b

Stop build on failure to create binary package * Makefile.am: exit from make when failing make in binary package build
author John Donoghue <john.donoghue@ieee.org>
date Wed, 06 May 2015 18:57:18 -0400
parents 3d16df45776b
children d1aaa8270548
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := of-octcdf
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.1.8
$(PKG)_CHECKSUM := 0550e4d5741d5e720d6ad8a42edc8c1a451f07e5
$(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

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