summaryrefslogtreecommitdiff
path: root/user/eigen/APKBUILD
blob: a262b40b732699804a848fefff6c0ec778b2a715 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: 
pkgname=eigen
pkgver=3.3.5
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=""
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="32398be114924ed10ea063bc2b857176bf28b3d5fb915344e972765e3f72e7b72f4a4cee1742e70029e391fdd06f854aa2ab1613b107bd41fbfaf32f0c44463e  eigen-3.3.5.tar.gz"