Mercurial > mxe-octave
annotate src/glpk.mk @ 4959:506a61f959e4
Update ghostscript to 9.26.
* src/ghostscript.mk: Update version, checksum and dependencies. Update build
rule.
* src/ghostscript-1-fixes.patch: Add new file.
* src/ghostscrip-mingw-[i686,x86_64]-[arch.h,gconfig_.h,makefile]: Remove files.
* src/build-automake.mk: Update to version 1.16.1.
* src/build-automake-1-perl-5.patch: Remove file.
* src/libidn.mk: Update to version 1.35.
* src/glpk.mk: Skip autoconf steps.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 16 Feb 2019 16:03:02 +0100 |
parents | 060d6cafa0a6 |
children | 3df44260321f |
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 := |
4279 | 6 $(PKG)_VERSION := 4.60 |
7 $(PKG)_CHECKSUM := 4e55a3d2aa38b19c5bdd8a195738dbaf44e91e90 | |
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) |
4279 | 11 $(PKG)_DEPS := gmp |
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 |
3708
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3678
diff
changeset
|
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/glpk/?C=M;O=D' | \ |
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3678
diff
changeset
|
15 $(SED) -n 's,.*<a href="glpk-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3678
diff
changeset
|
16 head -1 |
2871
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 endef |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 |
b7c77abd9273
Include glpk as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
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) \ |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4279
diff
changeset
|
25 --with-gmp \ |
3092
b299bc8e349a
[MSVC] enable GLPK compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) |
3678 | 27 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
28 $(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
|
29 endef |