Mercurial > mxe-octave
annotate src/eigen.mk @ 5139:1d78513f2bd1
* src/eigen.mk: implment update check rule
author | John Donoghue |
---|---|
date | Fri, 09 Aug 2019 11:03:59 -0400 |
parents | ae4193aad5fe |
children | 53f53624ec44 |
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 |
5139 | 14 $(WGET) -q -O- 'https://bitbucket.org/$(PKG)/$(PKG)/downloads/?tab=tags' | \ |
15 $(SED) -n 's|.*href=\"/eigen/eigen/get/\([0-9].*\)\.tar\.gz\".*|\1|p' | \ | |
16 $(GREP) -v "tip" | $(SORT) -V | \ | |
17 tail -1 | |
2027
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 |