desktop/eigen3/PKGBUILD
AlmAck 94adc18ccc dpic, eigen3, coin and freecad update
coin: introduced bug fix from debian bugreport, this solve also freecad compile issue
freecad: from version >0.13 freecad use cmake to configure the build options
2013-02-17 20:51:21 +01:00

28 lines
671 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
pkgname=eigen3
pkgver=3.1.2
pkgrel=1
pkgdesc="Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
arch=('any')
url='http://eigen.tuxfamily.org'
license=('MPL2')
makedepends=('cmake' 'pkgconfig')
source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2")
md5sums=('e9c081360dde5e7dcb8eba3c8430fde2')
build() {
mkdir -p "$srcdir"/build
cd "$srcdir"/build
cmake ../eigen-eigen-* \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
}
package() {
cd $srcdir/build
make DESTDIR=$pkgdir install
}