annotate src/of-interval.mk @ 4454:31fa72e23b71

of-interval: update to v3.0.0 * build_packages.m: update interval version * src/of-interval-1-cross-fixes.patch: update cross compile patch * src/of-interval.mk: update version, checksum
author John D
date Tue, 22 Aug 2017 12:36:38 -0400
parents 1933a9113e65
children 7d1e45c2f175
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3967
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := of-interval
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4454
31fa72e23b71 of-interval: update to v3.0.0
John D
parents: 4449
diff changeset
6 $(PKG)_VERSION := 3.0.0
31fa72e23b71 of-interval: update to v3.0.0
John D
parents: 4449
diff changeset
7 $(PKG)_CHECKSUM := 934479dd2d63eec1a52e1f85feb779b8abfa10ba
3967
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_SUBDIR := interval-$($(PKG)_VERSION)
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_FILE := interval-$($(PKG)_VERSION).tar.gz
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
4007
8fc810f8ff93 conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents: 4004
diff changeset
12 $(PKG)_DEPS :=
8fc810f8ff93 conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents: 4004
diff changeset
13 ifeq ($(USE_SYSTEM_GCC),no)
8fc810f8ff93 conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents: 4004
diff changeset
14 $(PKG)_DEPS += mpfr
8fc810f8ff93 conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents: 4004
diff changeset
15 endif
3967
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16
4449
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4329
diff changeset
17 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: 4329
diff changeset
18 $(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: 4329
diff changeset
19 endif
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4329
diff changeset
20
4329
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
21 ifeq ($(MXE_NATIVE_BUILD),no)
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
22 $(PKG)_OPTIONS := CRLIBM_CONFIG_FLAGS='--host=$(TARGET)'
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
23 else
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
24 $(PKG)_OPTIONS :=
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
25 endif
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
26
3967
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
27 define $(PKG)_UPDATE
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
28 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
29 $(SED) -n 's,.*title="interval-\([0-9][^"]*\).tar.gz".*,\1,p' | \
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
30 head -1
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
31 endef
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33 define $(PKG)_BUILD
4329
caa35339a354 of-interval: update to v2.1.0
John D
parents: 4252
diff changeset
34 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS))
3967
55f3a9ff20b8 of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
35 endef