Mercurial > mxe-octave
annotate src/gsl.mk @ 4384:d5a5b8e659de
update PKG_UPDATE rules
* src/arpack.mk: add get of latest version number
* src/atk.mk: update version number extract
* src/damageproto.mk: add dummy update
* src/devil.mk: update version number extract
* src/fixesproto.mk: add dummy update
* src/flac.mk: update version number extract
* src/gdb.mk: update version number extract
* src/geos.mk: update version number extract
* src/gettext.mk: update version number extract
* src/glew.mk: update version number extract
* src/glib.mk: update version number extract
* src/gnutls.mk: update version number extract
* src/gsl.mk: update version number extract
* src/gsoap.mk: update version number extract
* src/gtkglarea.mk: update version number extract
* src/gtkglext.mk: update version number extract
* src/gtkglextmm.mk: update version number extract
* src/gtksourceview.mk: update version number extract
* src/gtksourceviewmm2.mk: update version number extract
* src/ice.mk: add dummy update
* src/imagemagick.mk: update version number extract
* src/inputproto.mk: add dummy update
* src/itsol.mk: add dummy update
* src/kbproto.mk: add dummy update
* src/lame.mk: update version number extract
author | John D |
---|---|
date | Tue, 02 May 2017 07:41:11 -0400 |
parents | a1e2f1eac845 |
children | aade3b63d8d3 |
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 := |
4249 | 6 $(PKG)_VERSION := 2.2.1 |
7 $(PKG)_CHECKSUM := 2612a898aada49e90aa3069c712f172530f8d38f | |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
9 $(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
|
10 $(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
|
11 $(PKG)_DEPS := |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4384 | 14 $(WGET) -q -O- 'https://ftp.gnu.org/gnu/$(PKG)/' | \ |
15 $(SED) -n 's,.*<a href="gsl-\([0-9.]\+\).tar.gz".*,\1,p' | \ | |
16 $(SORT) -V | \ | |
17 tail -1 | |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
3154
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
20 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
|
21 $(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
|
22 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
|
23 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
|
24 endif |
6665f8a98e70
[MSVC] enable GSL compilation and bump version to 1.15
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 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
|
27 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
|
28 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
|
29 fi |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
31 $(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
|
32 --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
|
33 --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
|
34 $(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
|
35 $($(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
|
36 && $(CONFIGURE_POST_HOOK) |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 $(MAKE) -C '$(1)' -j '$(JOBS)' |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
38 $(MAKE) -C '$(1)' -j 1 install |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
39 endef |