]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
eigen: new package
authorMatt Weber <mlweber1@rockwellcollins.com>
Thu, 5 Sep 2013 13:53:27 +0000 (08:53 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 8 Sep 2013 20:30:12 +0000 (22:30 +0200)
[Peter: minor white space tweaks]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/eigen/Config.in [new file with mode: 0644]
package/eigen/eigen.mk [new file with mode: 0644]

index c3b345de22a799c1570539279bdd6e5772712bed..2351839c9872dea9ce579f49b1886c73de46a690 100644 (file)
@@ -640,6 +640,7 @@ source "package/apr-util/Config.in"
 source "package/libcofi/Config.in"
 source "package/classpath/Config.in"
 source "package/cppcms/Config.in"
+source "package/eigen/Config.in"
 source "package/elfutils/Config.in"
 source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
diff --git a/package/eigen/Config.in b/package/eigen/Config.in
new file mode 100644 (file)
index 0000000..c7fcde2
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_EIGEN
+       bool "eigen"
+       help
+         Eigen is a C++ template library for linear algebra: vectors,
+         matrices, and related algorithms. It is versatile, fast, elegant
+         and works on many platforms (OS/Compilers).
+
+         This package only installs header files to the include path.
+         If you just want to use Eigen, you can use the header files
+         right away. There is no binary to link to. Eigen is a pure
+         template library defined in the headers.
+
+         http://eigen.tuxfamily.org/
diff --git a/package/eigen/eigen.mk b/package/eigen/eigen.mk
new file mode 100644 (file)
index 0000000..5abd464
--- /dev/null
@@ -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))