annotate src/of-stk.mk @ 4470:debbddbe893a

of-stk: update to v2.5.0 * src/of-stk.mk: update version, checksum
author John D
date Sat, 16 Sep 2017 20:40:03 -0400
parents 1933a9113e65
children 7d1e45c2f175
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 :=
4470
debbddbe893a of-stk: update to v2.5.0
John D
parents: 4449
diff changeset
6 $(PKG)_VERSION := 2.5.0
debbddbe893a of-stk: update to v2.5.0
John D
parents: 4449
diff changeset
7 $(PKG)_CHECKSUM := 8150b990043e92bdf112319e26ffaa6a689a8928
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
4449
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4388
diff changeset
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes)
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4388
diff changeset
15 $(PKG)_DEPS += $(OCTAVE_TARGET)
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4388
diff changeset
16 endif
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4388
diff changeset
17
3910
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
18 define $(PKG)_UPDATE
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
19 $(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
20 $(SED) -n 's,.*title="stk-\([0-9][^"]*\).tar.gz".*,\1,p' | \
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
21 head -1
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
22 endef
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
23
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
24 define $(PKG)_BUILD
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
25 $(OCTAVE_FORGE_PKG_BUILD)
569e31212bb6 of-stk: add to mxe
John Donoghue
parents:
diff changeset
26 endef