diff options
author | Bradley J Chambers <brad.chambers@gmail.com> | 2017-07-10 14:40:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-28 17:31:00 +0000 |
commit | cd2380582b841f8eb4b44269039436238bc6bd04 (patch) | |
tree | c71194be045b5209bec3ae130fe84546bc4529b8 | |
parent | 4053980ec8c5562de60ee9c6eda3410cda4e6629 (diff) | |
download | aports-cd2380582b841f8eb4b44269039436238bc6bd04.tar.bz2 aports-cd2380582b841f8eb4b44269039436238bc6bd04.tar.xz |
testing/eigen: new aport
http://eigen.tuxfamily.org/
C++ template library for linear algebra
-rw-r--r-- | testing/eigen/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/eigen/APKBUILD b/testing/eigen/APKBUILD new file mode 100644 index 0000000000..b2b216911c --- /dev/null +++ b/testing/eigen/APKBUILD @@ -0,0 +1,32 @@ +# 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" +license="MPL2" +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" |