aboutsummaryrefslogtreecommitdiff
path: root/package/eigen/eigen.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/eigen/eigen.mk')
-rw-r--r--package/eigen/eigen.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/eigen/eigen.mk b/package/eigen/eigen.mk
new file mode 100644
index 0000000000..5abd464526
--- /dev/null
+++ b/package/eigen/eigen.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# eigen
+#
+################################################################################
+
+# version 3.2
+EIGEN_VERSION = ffa86ffb5570
+EIGEN_SITE = https://bitbucket.org/eigen/eigen/
+EIGEN_SITE_METHOD = hg
+EIGEN_LICENSE = MPL2, BSD-3c, LGPLv2.1
+EIGEN_LICENSE_FILES = COPYING.MPL2 COPYING.BSD COPYING.LGPL COPYING.README
+EIGEN_INSTALL_STAGING = YES
+EIGEN_INSTALL_TARGET = NO
+
+# This package only consists of headers that need to be
+# copied over to the sysroot for compile time use
+define EIGEN_INSTALL_STAGING_CMDS
+ $(RM) -r $(STAGING_DIR)/usr/include/Eigen
+ cp -a $(@D)/Eigen $(STAGING_DIR)/usr/include/
+endef
+
+$(eval $(generic-package))