mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
637 B
Bash
24 lines
637 B
Bash
# $Id: PKGBUILD 43303 2009-06-21 20:29:34Z pierre $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=eigen
|
|
pkgver=2.0.3
|
|
pkgrel=1
|
|
pkgdesc="Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
|
|
arch=('i686' 'x86_64')
|
|
url='http://eigen.tuxfamily.org'
|
|
license=('GPL' 'LGPL')
|
|
makedepends=('cmake' 'pkgconfig')
|
|
source=("http://bitbucket.org/eigen/eigen2/get/${pkgver}.tar.bz2")
|
|
md5sums=('993a929f4326e19eaaf91b7106cbd8a9')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
mkdir build
|
|
cd build
|
|
cmake ../eigen2 \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
make DESTDIR=$pkgdir install
|
|
}
|