Mercurial > mxe-octave
annotate src/eigen.mk @ 3480:13be64f9f16d
move version info from index.html to src/*.mk files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 31 Jan 2014 16:04:01 -0500 |
parents | 5ef49fb3299d |
children | ae4193aad5fe |
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. |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
3 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
4 PKG := eigen |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 2.0.17 |
2177
46ff01670040
Fixed checksum of package eigen
Volker Grabsch <vog@notjusthosting.com>
parents:
2169
diff
changeset
|
7 $(PKG)_CHECKSUM := 7e1674420a8eef7e90e1875ef5b9e828fb9db381 |
2182
a30157a3ce8e
package eigen: fixed subdir
Mark Brand <mabrand@mabrand.nl>
parents:
2178
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$(PKG)-b23437e61a07 |
2031
42ea60937f81
package eigen: fix filename
Mark Brand <mabrand@mabrand.nl>
parents:
2028
diff
changeset
|
9 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz |
2178
44e3d954a3ad
Fixed download URL of package eigen: HTTP redirects to HTTPS, so we should use the HTTPS URL directly
Volker Grabsch <vog@notjusthosting.com>
parents:
2177
diff
changeset
|
10 $(PKG)_URL := https://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
11 $(PKG)_DEPS := |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
12 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \ |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
15 grep 'eigen/get/' | \ |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
16 $(SED) -n 's,.*eigen/get/\(2[^>]*\)\.tar.*,\1,p' | \ |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
17 head -1 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
18 endef |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
19 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
21 cd '$(1)' && \ |
2329
466e77a78672
Fix annoying whitespaces at EOL
Volker Grabsch <vog@notjusthosting.com>
parents:
2182
diff
changeset
|
22 cmake . -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
23 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
24 endef |