summaryrefslogtreecommitdiff
path: root/user/eigen
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-16 00:49:55 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-16 00:49:55 -0500
commitc9f72d62c5d54f6ad932170124e64c59b7691988 (patch)
tree37cb4bbcaad55f21ac1b4c11965f8687b5ce004e /user/eigen
parent9b6156f1bb957fd924577ac74ffd3636accfa052 (diff)
downloadpackages-c9f72d62c5d54f6ad932170124e64c59b7691988.tar.gz
packages-c9f72d62c5d54f6ad932170124e64c59b7691988.tar.bz2
packages-c9f72d62c5d54f6ad932170124e64c59b7691988.tar.xz
packages-c9f72d62c5d54f6ad932170124e64c59b7691988.zip
user/eigen: pull in, fix a little, ugh
Diffstat (limited to 'user/eigen')
-rw-r--r--user/eigen/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/eigen/APKBUILD b/user/eigen/APKBUILD
new file mode 100644
index 000000000..6a10bb59d
--- /dev/null
+++ b/user/eigen/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
+# Maintainer:
+pkgname=eigen
+pkgver=3.3.4
+pkgrel=1
+pkgdesc="Eigen is a C++ template library for linear algebra"
+url="http://eigen.tuxfamily.org/index.php?title=Main_Page"
+arch="noarch"
+options="!check" # Headers-only: no tests are possible.
+license="MPL-2.0"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::http://bitbucket.org/eigen/$pkgname/get/$pkgver.tar.gz"
+
+prepare() {
+ mv "$srcdir"/eigen-eigen-* "$builddir" # directory name contains hash
+ default_prepare
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/include/eigen3
+ cp -r "$builddir"/Eigen "$pkgdir"/usr/include/eigen3
+ cp -r "$builddir"/unsupported "$pkgdir"/usr/include/eigen3
+}
+
+sha512sums="4077a5c3b95e3573774ccd3fe6c7233cb4b83db2358c19b43ea796925bd0201451d8632bddc5d68b1b57bbf67c5473a8908926eed065a745689a2acec9711d5c eigen-3.3.4.tar.gz"