view src/of-linear-algebra.mk @ 4238:bdcbb82d57e2

pkg-install.py: fail pkg build if configure fails (Bug #49503) * tools/pkg-install.py: check status of configure call and raise exeption on error
author John D
date Thu, 03 Nov 2016 03:48:05 -0400
parents 1aff35ff98c1
children 1933a9113e65
line wrap: on
line source

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

PKG             := of-linear-algebra
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.2.2
$(PKG)_CHECKSUM := 5ebc229807038d5663540b6a6f1e00608dce4e7b
$(PKG)_REMOTE_SUBDIR :=
$(PKG)_SUBDIR   := linear-algebra
$(PKG)_FILE     := linear-algebra-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
    $(SED) -n 's,.*title="linear-algebra-\([0-9][^"]*\).tar.gz".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef