Mercurial > mxe-octave
diff src/of-stk.mk @ 3910:569e31212bb6
of-stk: add to mxe
* src/of-stk.mk: new file
* dist-files.mk: add of-stk.mk
* index.html: add stk
* Makefile.in: add stk to forge packages
* build_packages.m: add stk
author | John Donoghue |
---|---|
date | Fri, 17 Apr 2015 08:24:07 -0400 |
parents | |
children | cbefb206115e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-stk.mk Fri Apr 17 08:24:07 2015 -0400 @@ -0,0 +1,22 @@ +# 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