Mercurial > mxe-octave
annotate src/gsl.mk @ 838:d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 10 Apr 2010 05:08:25 +0200 |
parents | ff7c924750f8 |
children | db4ac7cade9b |
rev | line source |
---|---|
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # This file is part of mingw-cross-env. |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 # See doc/index.html for further information. |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
4 # GSL |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := gsl |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_VERSION := 1.14 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_CHECKSUM := e1a600e4fe359692e6f0e28b7e12a96681efbe52 |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
10 $(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
|
11 $(PKG)_WEBSITE := http://www.gnu.org/software/gsl/ |
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://www.gnu.org/software/gsl' | \ |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 grep -o "GSL-[0-9.]*" | \ |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(SED) -e s/GSL-//g -e s/'.$'//g | \ |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 head -1 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --host='$(TARGET)' \ |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
25 --prefix='$(PREFIX)/$(TARGET)' \ |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --disable-shared \ |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
27 --enable-static |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' |
838
d11f82bd2ef5
small corrections for package gsl (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
837
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 install |
837
ff7c924750f8
new package: gsl (by Michel Boaventura)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 endef |