Mercurial > mxe-octave
annotate src/glpk.mk @ 3678:3858aa1d5ef8
glpk: update to v4.54
* src/glpk.mk: update version
* src/gplk-1-fixes.patch: update patch
author | John Donoghue |
---|---|
date | Tue, 05 Aug 2014 07:32:21 -0400 |
parents | 13be64f9f16d |
children | d95b8b84cea7 |
rev | line source |
---|---|
2871
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := glpk |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3678 | 6 $(PKG)_VERSION := 4.54 |
7 $(PKG)_CHECKSUM := 69d9c5d83271d34de1a58d2de2f7ababab975492 | |
2871
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := glpk-$($(PKG)_VERSION).tar.gz |
2928 | 10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/glpk/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := |
2871
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 echo 'Warning: Updates are temporarily disabled for package glpk.' >&2; |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 echo $(glpk_VERSION) |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 endef |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
2948
5a02aaaff885
update libtool usage for glpk
John W. Eaton <jwe@octave.org>
parents:
2928
diff
changeset
|
19 cd '$(1)' && aclocal && libtoolize && autoreconf |
2871
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 mkdir '$(1)/.build' |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 cd '$(1)/.build' && '$(1)/configure' \ |
2997 | 22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2948
5a02aaaff885
update libtool usage for glpk
John W. Eaton <jwe@octave.org>
parents:
2928
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
3092
b299bc8e349a
[MSVC] enable GLPK compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) |
3678 | 26 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
27 $(MAKE) -C '$(1)/.build' -j 1 install DESTDIR='$(3)' | |
2871
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 endef |