diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-02-25 13:50:07 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-02-25 13:50:07 -0200 |
commit | 2bbc57892d0bcfe69a8de4eb7ac48c1917983527 (patch) | |
tree | 4e6c7a98883b258b1ca363bea7798bc74d8542cb /pcr/eigen3/PKGBUILD | |
parent | 9062beff66ee5c106bc7bf3645ff42b1928aec3e (diff) | |
parent | 4d2d33bb989a2860e863ce198e0a185c3a03af4b (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/eigen3/PKGBUILD')
-rw-r--r-- | pcr/eigen3/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/eigen3/PKGBUILD b/pcr/eigen3/PKGBUILD new file mode 100644 index 000000000..a1e186325 --- /dev/null +++ b/pcr/eigen3/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com> +# Contributor: Kringel +# This PKGBUILD is a modified version of eigen 2.x in extra/eigen +# Maintainer: Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO> + +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") + +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 +} |