Mercurial > mxe-octave
annotate src/of-gsl.mk @ 4513:1fdd8063e38d
mesa: windows: optionally build opengl target; build in release mode
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Oct 2017 10:50:32 -0400 |
parents | 82edb9bd4325 |
children | 7d1e45c2f175 |
rev | line source |
---|---|
4249 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := of-gsl | |
5 $(PKG)_IGNORE := | |
4453 | 6 $(PKG)_VERSION := 2.1.0 |
7 $(PKG)_CHECKSUM := ff83fac134cb13ab25c0833e96d1e5855516e36f | |
4249 | 8 $(PKG)_REMOTE_SUBDIR := |
9 $(PKG)_SUBDIR := gsl-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := gsl-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
12 $(PKG)_DEPS := gsl | |
13 | |
4449
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4249
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:
4249
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:
4249
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:
4249
diff
changeset
|
17 |
4249 | 18 define $(PKG)_UPDATE |
19 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ | |
20 $(SED) -n 's,.*title="gsl-\([0-9][^"]*\).tar.gz".*,\1,p' | \ | |
21 head -1 | |
22 endef | |
23 | |
24 define $(PKG)_BUILD | |
25 $(OCTAVE_FORGE_PKG_BUILD) | |
26 endef |