summaryrefslogtreecommitdiffstats
path: root/src/eigen.mk
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2011-10-21 22:24:34 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2011-10-21 22:24:34 (GMT)
commit4093ebb6ccbb639e0606fe3d239092a467888abb (patch)
tree5ea588e6589183d2c369e4b68248d9fe430a3e39 /src/eigen.mk
parent2a782010c2c4d22f549637c7563134a73698ef0a (diff)
downloadmxe-4093ebb6ccbb639e0606fe3d239092a467888abb.zip
mxe-4093ebb6ccbb639e0606fe3d239092a467888abb.tar.gz
mxe-4093ebb6ccbb639e0606fe3d239092a467888abb.tar.bz2
new packages cgal eigen mpfr
Diffstat (limited to 'src/eigen.mk')
-rw-r--r--src/eigen.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/eigen.mk b/src/eigen.mk
new file mode 100644
index 0000000..f0f99c8
--- /dev/null
+++ b/src/eigen.mk
@@ -0,0 +1,26 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# eigen
+PKG := eigen
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.0.16
+$(PKG)_CHECKSUM := 16732775f93174563e575c3570395a11a5e57104
+$(PKG)_SUBDIR := eigen-eigen-$($(PKG)_VERSION)
+$(PKG)_FILE := lib$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://eigen.tuxfamily.org/
+$(PKG)_URL := http://bitbucket.org/eigen/eigen/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=$(PREFIX)/$(TARGET)/share/cmake/mingw-cross-env-conf.cmake
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef