diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-03-01 03:12:39 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-03-01 03:12:39 +0000 |
commit | 3a4957532674a3c1ee5e3aa6ed133be222d9d3b5 (patch) | |
tree | e751a50add9dc188ce264a64a18168d50348653f /community/eigen | |
parent | 529ca067b237c5fffce2d5627c6a7aa8e88fc1d8 (diff) | |
download | aports-3a4957532674a3c1ee5e3aa6ed133be222d9d3b5.tar.bz2 aports-3a4957532674a3c1ee5e3aa6ed133be222d9d3b5.tar.xz |
community/eigen: move from testing
Diffstat (limited to 'community/eigen')
-rw-r--r-- | community/eigen/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/eigen/APKBUILD b/community/eigen/APKBUILD new file mode 100644 index 0000000000..2c748808af --- /dev/null +++ b/community/eigen/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bradley J Chambers <brad.chambers@gmail.com> +# Maintainer: Bradley J Chambers <brad.chambers@gmail.com> +pkgname=eigen +pkgver=3.3.4 +pkgrel=0 +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="" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::http://bitbucket.org/eigen/$pkgname/get/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgname" + +build() { + return 0 +} + +prepare() { + mv "$builddir"-* "$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" |