Mercurial > mxe-octave
annotate src/gsl.mk @ 3256:7fb479d0241c
Update build tools for native mingw
* src/build-m4.mk: do nothing for native mingw build
* Makefile.in:
- add bison, m4 as natve mingw, and python as jit build requirements.
- remove build-bison as a mingw build dependancy
* index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 26 Sep 2013 21:18:39 -0400 |
parents | 6665f8a98e70 |
children | 13be64f9f16d |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2329
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := gsl |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3154
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
6 $(PKG)_CHECKSUM := d914f84b39a5274b0a589d9b83a66f44cd17ca8e |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
9 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
10 $(PKG)_DEPS := |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ |
839
db4ac7cade9b
improved version recognition of package gsl
Volker Grabsch <vog@notjusthosting.com>
parents:
838
diff
changeset
|
14 grep '<a class="list subject"' | \ |
840
77ecd36317c2
corrected version recognition regexes of many packages
Volker Grabsch <vog@notjusthosting.com>
parents:
839
diff
changeset
|
15 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^<]*\)<.*,\1,p' | \ |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 head -1 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
3154
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
19 ifeq ($(MXE_SYSTEM),msvc) |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
20 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
21 ac_cv_func_memcpy=yes \ |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
22 ac_cv_c_inline=no |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
23 endif |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 define $(PKG)_BUILD |
3154
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
26 if [ $(MXE_SYSTEM) = msvc ]; then \ |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
27 cd '$(1)' && autoreconf -i -f -v; \ |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 fi |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
30 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3154
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
31 --enable-maintainer-mode \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
32 --prefix='$(HOST_PREFIX)' \ |
3154
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
33 $(ENABLE_SHARED_OR_STATIC) \ |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
34 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
35 && $(CONFIGURE_POST_HOOK) |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 $(MAKE) -C '$(1)' -j '$(JOBS)' |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
37 $(MAKE) -C '$(1)' -j 1 install |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 endef |