view src/of-stk.mk @ 3920:a0cd80b7bad4

of-linear-algrebra: update patch to allow install from precompiled files * src/of-linear-algebra-1-cross-fixes.patch: update of Makefile
author John Donoghue
date Tue, 28 Apr 2015 08:13:04 -0400
parents 569e31212bb6
children cbefb206115e
line wrap: on
line source

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

PKG             := of-stk
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.2.1
$(PKG)_CHECKSUM := 8b2f47ecb4e468782b2b3622b3ddbb82f56673b5
$(PKG)_REMOTE_SUBDIR := 
$(PKG)_SUBDIR   := stk
$(PKG)_FILE     := stk-$($(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="stk-\([0-9][^"]*\).tar.gz".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef