From 9583969992b9eb42e72d78f1dd0755f1ea17b0ff Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Wed, 23 Apr 2014 01:15:35 +0200 Subject: [PATCH] armadillo: new package Armadillo is a C++ linear algebra library. [Peter: needs largefile, sort Config.in alphabetically] Signed-off-by: Samuel Martin Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/armadillo/Config.in | 13 +++++++++++++ package/armadillo/armadillo.mk | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 package/armadillo/Config.in create mode 100644 package/armadillo/armadillo.mk 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)) -- 2.30.2