diff options
author | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
commit | 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (patch) | |
tree | b31de2992989d616383f6552ba5d23b75701ef04 /community/freemat | |
parent | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (diff) |
Sun Oct 14 00:45:38 PDT 2012
Diffstat (limited to 'community/freemat')
-rw-r--r-- | community/freemat/PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/community/freemat/PKGBUILD b/community/freemat/PKGBUILD index c3eedb732..7fa884dca 100644 --- a/community/freemat/PKGBUILD +++ b/community/freemat/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 75755 2012-08-30 21:02:52Z spupykin $ +# $Id: PKGBUILD 77633 2012-10-13 11:42:24Z allan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=freemat pkgver=4.1 -pkgrel=4 +pkgrel=5 pkgdesc="A free environment for rapid engineering, scientific prototyping and data processing" arch=('i686' 'x86_64') url="http://freemat.sourceforge.net" license=('GPL') -depends=('qt' 'ffcall' 'fftw' 'mesa' 'portaudio' 'libffi') +depends=('qt' 'ffcall' 'fftw' 'mesa' 'portaudio' 'libffi' 'mesa' 'glu') makedepends=('arpack' 'lapack' 'umfpack' 'blas' 'libmatio' 'cmake' 'python2') install=freemat.install source=(http://downloads.sourceforge.net/project/freemat/FreeMat4/FreeMat-$pkgver-Source.tar.gz @@ -20,6 +20,7 @@ md5sums=('929d31e2310feaff5d380fc2f7b4d1a2' build() { cd $srcdir/FreeMat-$pkgver-Source + unset LDFLAGS rm -f CMakeCache.txt find . -type f -name '*.moc.cpp' -exec rm -f {} \; find . -type f -name 'add.so' -exec rm -f {} \; @@ -30,6 +31,7 @@ build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DUSE_LLVM=OFF \ + -DFORCE_BUNDLED_UMFPACK=ON \ -DFFI_INCLUDE_DIR=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/ \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ . @@ -38,7 +40,7 @@ build() { package() { cd $srcdir/FreeMat-$pkgver-Source - make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir install -j1 sed -i "s|/FreeMat-.*/|/FreeMat-$pkgver/|g" $startdir/freemat.install rm $pkgdir/usr/bin/blas.ini } |