Mercurial > mxe-octave
comparison src/eigen.mk @ 5513:9e5a68f8f082
* src/eigen.mk: update update rules/download links
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 21 Aug 2020 07:38:01 -0400 |
parents | 53f53624ec44 |
children | d862fd40cc42 |
comparison
equal
deleted
inserted
replaced
5512:96dfe2730a27 | 5513:9e5a68f8f082 |
---|---|
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := eigen | 4 PKG := eigen |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 3.3.7 | 6 $(PKG)_VERSION := 3.3.7 |
7 $(PKG)_CHECKSUM := 743c1dc00c6680229d8cc87d44debe5a71d15c01 | 7 $(PKG)_CHECKSUM := f13a31c7ec3b87cf6e58b6fb05aa8b887091b71c |
8 $(PKG)_SUBDIR := $(PKG)-$(PKG)-323c052e1731 | 8 $(PKG)_SUBDIR := $(PKG)-$(PKG)-323c052e1731 |
9 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := $($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := https://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_FILE) | 10 $(PKG)_URL := https://gitlab.com/libeigen/$(PKG)/-/archive/$($(PKG)_VERSION)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := | 11 $(PKG)_DEPS := |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'https://bitbucket.org/$(PKG)/$(PKG)/downloads/?tab=tags' | \ | 14 $(WGET) -q -O- 'https://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \ |
15 $(SED) -n 's|.*href=\"/eigen/eigen/get/\([0-9].*\)\.tar\.gz\".*|\1|p' | \ | 15 $(GREP) 'eigen/get/' | \ |
16 $(GREP) -v "tip" | $(SORT) -V | \ | 16 $(SED) -n 's,.*eigen/get/\(3[^>]*\)\.tar.*,\1,p' | \ |
17 tail -1 | 17 head -1 |
18 endef | 18 endef |
19 | 19 |
20 define $(PKG)_BUILD | 20 define $(PKG)_BUILD |
21 mkdir '$(1).build' | 21 mkdir '$(1).build' |
22 cd '$(1).build' && \ | 22 cd '$(1).build' && \ |