annotate 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
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 :=
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
6 $(PKG)_VERSION := 2.2.1
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
7 $(PKG)_CHECKSUM := 8b2f47ecb4e468782b2b3622b3ddbb82f56673b5
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