summaryrefslogblamecommitdiff
path: root/user/eigen/APKBUILD
blob: 9dcef042ee6b430e74b20f930f2e67976de3848f (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.5
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
	prototype.patch
	"

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
bbecc8323dbbd37b624ae8816ce9c3ee3f1791b10847f5d56a957d00197fd13ff5cc2026b2eb644d5eb0f77f74fc20b25f98070befbd1c2dfd98e9c596778942  prototype.patch"