2013-09-05 15:53:27 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# 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
|
2014-03-20 11:45:47 +01:00
|
|
|
EIGEN_DEST_DIR = $(STAGING_DIR)/usr/include/eigen3
|
2013-09-05 15:53:27 +02:00
|
|
|
|
2014-03-31 00:30:30 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES),y)
|
|
|
|
define EIGEN_INSTALL_UNSUPPORTED_MODULES_CMDS
|
|
|
|
mkdir -p $(EIGEN_DEST_DIR)/unsupported
|
|
|
|
cp -a $(@D)/unsupported/Eigen $(EIGEN_DEST_DIR)/unsupported
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
2013-09-05 15:53:27 +02:00
|
|
|
# This package only consists of headers that need to be
|
|
|
|
# copied over to the sysroot for compile time use
|
|
|
|
define EIGEN_INSTALL_STAGING_CMDS
|
2014-03-20 11:45:47 +01:00
|
|
|
$(RM) -r $(EIGEN_DEST_DIR)
|
|
|
|
mkdir -p $(EIGEN_DEST_DIR)
|
|
|
|
cp -a $(@D)/Eigen $(EIGEN_DEST_DIR)
|
2014-03-31 00:30:30 +02:00
|
|
|
$(EIGEN_INSTALL_UNSUPPORTED_MODULES_CMDS)
|
2013-09-05 15:53:27 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|