diff --git a/package/Config.in b/package/Config.in index a39887fc74..7800f23d74 100644 --- a/package/Config.in +++ b/package/Config.in @@ -770,6 +770,7 @@ menu "Other" source "package/apr/Config.in" source "package/apr-util/Config.in" source "package/argp-standalone/Config.in" +source "package/armadillo/Config.in" source "package/boost/Config.in" source "package/clapack/Config.in" source "package/classpath/Config.in" diff --git a/package/armadillo/Config.in b/package/armadillo/Config.in new file mode 100644 index 0000000000..2251d912f0 --- /dev/null +++ b/package/armadillo/Config.in @@ -0,0 +1,13 @@ +comment "armadillo needs a toolchain w/ C++, largefile" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE + +config BR2_PACKAGE_ARMADILLO + bool "armadillo" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_LARGEFILE # clapack + select BR2_PACKAGE_CLAPACK + help + Armadillo: An Open Source C++ Linear Algebra Library for + Fast Prototyping and Computationally Intensive Experiments. + + http://arma.sourceforge.net/ diff --git a/package/armadillo/armadillo.mk b/package/armadillo/armadillo.mk new file mode 100644 index 0000000000..b2cfdfc46a --- /dev/null +++ b/package/armadillo/armadillo.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# armadillo +# +################################################################################ + +ARMADILLO_VERSION_MAJOR = 4.000 +ARMADILLO_VERSION = $(ARMADILLO_VERSION_MAJOR).4 +ARMADILLO_SITE = http://downloads.sourceforge.net/project/arma/ +ARMADILLO_DEPENDENCIES = clapack +ARMADILLO_INSTALL_STAGING = YES +ARMADILLO_LICENSE = MPLv2.0 +ARMADILLO_LICENSE_FILES = LICENSE.txt + +$(eval $(cmake-package))