summaryrefslogtreecommitdiff
path: root/extra/octave/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
committerroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
commit19f42937be8f6619a85663cb71e24c05b7e8b6d2 (patch)
treee7d059bcc0b5c309ff565da9be68ade7f29ef5fc /extra/octave/PKGBUILD
parent8784d3134c1d4b4c02d705259ae2ebd768c778fd (diff)
Thu Apr 28 22:32:07 UTC 2011
Diffstat (limited to 'extra/octave/PKGBUILD')
-rw-r--r--extra/octave/PKGBUILD29
1 files changed, 12 insertions, 17 deletions
diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD
index f7a6000e6..ce71a53e1 100644
--- a/extra/octave/PKGBUILD
+++ b/extra/octave/PKGBUILD
@@ -1,42 +1,38 @@
-# $Id: PKGBUILD 103149 2010-12-15 21:12:17Z ronald $
+# $Id: PKGBUILD 120945 2011-04-27 18:09:04Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor : shining <shiningxc.at.gmail.com>
# Contributor : cyberdune <cyberdune@gmail.com>
pkgname=octave
-pkgver=3.2.4
+pkgver=3.4.0
pkgrel=2
pkgdesc="A high-level language, primarily intended for numerical computations."
arch=('i686' 'x86_64')
url="http://www.octave.org"
license=('GPL')
-depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs')
+depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull')
makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'umfpack')
optdepends=('texinfo: for help-support in octave'
'gnuplot: alternative plotting'
'umfpack: LU decomposition of some large sparse matrices')
-source=("ftp://ftp.octave.org/pub/octave/octave-$pkgver.tar.bz2"
- 'octave-3.2.0_as_needed.patch' 'octave-3.2.0_parallel_make.patch' 'imread.patch')
+source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2"
+ octave-3.4.0-gcc46.patch)
options=('!emptydirs')
-install=octave.install
-md5sums=('608196657f4fa010420227b77333bb71'
- '33c8886cd908ace40f8b60334df1c34f'
- 'd59d783a8d7e8d8306caed4b2b8671a4'
- '72d33ba1a862244f970cf259923815d9')
+#install=octave.install
+sha1sums=('936a8fc962abd96e7568fb5909ec2a4d7997a1a8'
+ '791c905a80510783e5f9c556c12f02400887fbec')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- # gentoo patches
- patch -Np1 -i ${srcdir}/octave-3.2.0_as_needed.patch
- patch -Np1 -i ${srcdir}/octave-3.2.0_parallel_make.patch
- patch -Np0 -i ${srcdir}/imread.patch
-
+ # fedora gcc46 patch
+ patch -Np1 -i ${srcdir}/octave-3.4.0-gcc46.patch
+
# http://www.nabble.com/Random-rounding-errors-td16010966.html
FFLAGS="-O -ffloat-store" \
./configure --prefix=/usr --libexecdir=/usr/lib \
- --enable-shared --disable-static
+ --enable-shared --disable-static --disable-docs
make
}
@@ -45,5 +41,4 @@ package(){
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
-
}