diff options
author | Matt Weber <mlweber1@rockwellcollins.com> | 2013-09-05 08:53:27 -0500 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-08 22:30:12 +0200 |
commit | cc51df61258f55763b81d2fec82d73d15708322f (patch) | |
tree | cbeca50c374fd6f0a347e849514295bf988e3bca /package/eigen | |
parent | d45db95633ed2e73d97a9de911ab5f0c063defaf (diff) | |
download | buildroot-cc51df61258f55763b81d2fec82d73d15708322f.tar.gz buildroot-cc51df61258f55763b81d2fec82d73d15708322f.zip |
eigen: new package
[Peter: minor white space tweaks]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/eigen')
-rw-r--r-- | package/eigen/Config.in | 13 | ||||
-rw-r--r-- | package/eigen/eigen.mk | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/package/eigen/Config.in b/package/eigen/Config.in new file mode 100644 index 0000000000..c7fcde243c --- /dev/null +++ b/package/eigen/Config.in @@ -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 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)) |