summaryrefslogblamecommitdiff
path: root/user/eigen/APKBUILD
blob: 125cf77fea60068601280fdd7d3fb7d36b012013 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                           

            







                                                            
                                                                                        











                                                                              
                                                                                                                                                                 
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: 
pkgname=eigen
pkgver=3.3.7
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="34cf600914cce719d61511577ef9cd26fbdcb7a6fad1d0ab8396f98b887fac6a5577d3967e84a8f56225cc50de38f3b91f34f447d14312028383e32b34ea1972  eigen-3.3.7.tar.gz"