diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2012-04-12 15:23:12 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2012-04-12 15:23:12 (GMT) |
commit | 1f86817ee82b162a1a5bd495886183ca81a68ba7 (patch) | |
tree | 3116df65f83174295af8c6315a36583f460fe9e0 /src/eigen.mk | |
parent | 0f01e5e88f720fe5073c88f5cf1803d5c283904d (diff) | |
parent | e513258770cdc39c0d6a904437f191aa61b3175c (diff) | |
download | mxe-2.22.zip mxe-2.22.tar.gz mxe-2.22.tar.bz2 |
Merge all well-tested changes into the stable branchv2.22
Diffstat (limited to 'src/eigen.mk')
-rw-r--r-- | src/eigen.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/eigen.mk b/src/eigen.mk new file mode 100644 index 0000000..9fb5a5f --- /dev/null +++ b/src/eigen.mk @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := eigen +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 7e1674420a8eef7e90e1875ef5b9e828fb9db381 +$(PKG)_SUBDIR := $(PKG)-$(PKG)-b23437e61a07 +$(PKG)_FILE := $($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://eigen.tuxfamily.org/index.php?title=Main_Page#Download' | \ + grep 'eigen/get/' | \ + $(SED) -n 's,.*eigen/get/\(2[^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && \ + cmake . -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef |