annotate src/of-stk.mk @ 3978:faf328b36242

ok-stk: update to 2.3.1 * src/of-stk.mk: update version, checksum * build_packages.m: update stk version
author John Donoghue
date Mon, 22 Jun 2015 12:34:07 -0400
parents cbefb206115e
children 66f786f7d943
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3910
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
3
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
4 PKG := of-stk
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
3978
faf328b36242 ok-stk: update to 2.3.1
John Donoghue
parents: 3943
diff changeset
6 $(PKG)_VERSION := 2.3.1
faf328b36242 ok-stk: update to 2.3.1
John Donoghue
parents: 3943
diff changeset
7 $(PKG)_CHECKSUM := a940e707d816156a3efe0cd23e3bfcc11212ce74
3910
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
9 $(PKG)_SUBDIR := stk
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := stk-$($(PKG)_VERSION).tar.gz
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS :=
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
13
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
14 define $(PKG)_UPDATE
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
16 $(SED) -n 's,.*title="stk-\([0-9][^"]*\).tar.gz".*,\1,p' | \
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
17 head -1
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
18 endef
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
19
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
20 define $(PKG)_BUILD
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
21 $(OCTAVE_FORGE_PKG_BUILD)
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
22 endef