Mercurial > mxe-octave
annotate src/eigen.mk @ 2182:a30157a3ce8e
package eigen: fixed subdir
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 22 Dec 2011 09:58:03 +0100 |
parents | 44e3d954a3ad |
children | 466e77a78672 |
rev | line source |
---|---|
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
1 # This file is part of mingw-cross-env. |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
2 # See doc/index.html for further information. |
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 # eigen |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
5 PKG := eigen |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
2169 | 7 $(PKG)_VERSION := 2.0.17 |
2177
46ff01670040
Fixed checksum of package eigen
Volker Grabsch <vog@notjusthosting.com>
parents:
2169
diff
changeset
|
8 $(PKG)_CHECKSUM := 7e1674420a8eef7e90e1875ef5b9e828fb9db381 |
2182
a30157a3ce8e
package eigen: fixed subdir
Mark Brand <mabrand@mabrand.nl>
parents:
2178
diff
changeset
|
9 $(PKG)_SUBDIR := $(PKG)-$(PKG)-b23437e61a07 |
2031
42ea60937f81
package eigen: fix filename
Mark Brand <mabrand@mabrand.nl>
parents:
2028
diff
changeset
|
10 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://eigen.tuxfamily.org/ |
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
|
12 $(PKG)_URL := https://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_FILE) |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
14 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \ |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
17 grep 'eigen/get/' | \ |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
18 $(SED) -n 's,.*eigen/get/\(2[^>]*\)\.tar.*,\1,p' | \ |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
19 head -1 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
20 endef |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
21 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
23 cd '$(1)' && \ |
2142
276f0c6d3cca
packages cgal, eigen, lapack: use CMAKE_TOOLCHAIN_FILE
Tony Theodore <tonyt@logyst.com>
parents:
2031
diff
changeset
|
24 cmake . -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
26 endef |