Date: Saturday, July 9, 2011 @ 16:49:15 Author: stephane Revision: 131039
upgpkg: octave 3.4.2-1 version bump, rebuild for hdf5 Modified: octave/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-07-09 20:10:15 UTC (rev 131038) +++ PKGBUILD 2011-07-09 20:49:15 UTC (rev 131039) @@ -4,8 +4,8 @@ # Contributor : cyberdune <[email protected]> pkgname=octave -pkgver=3.4.0 -pkgrel=2 +pkgver=3.4.2 +pkgrel=1 pkgdesc="A high-level language, primarily intended for numerical computations." arch=('i686' 'x86_64') url="http://www.octave.org" @@ -15,24 +15,22 @@ optdepends=('texinfo: for help-support in octave' 'gnuplot: alternative plotting' 'umfpack: LU decomposition of some large sparse matrices') -source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2" - octave-3.4.0-gcc46.patch) +source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2") options=('!emptydirs') #install=octave.install -sha1sums=('936a8fc962abd96e7568fb5909ec2a4d7997a1a8' - '791c905a80510783e5f9c556c12f02400887fbec') +sha1sums=('12cac29ef7d1ab8374980e1e2fd14637b2f15ba5') build() { cd ${srcdir}/${pkgname}-${pkgver} - # 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" \ + # Avoid build failure due to missing curl/types.h + sed -i "/curl\/types.h/d" src/DLD-FUNCTIONS/urlwrite.cc + ./configure --prefix=/usr --libexecdir=/usr/lib \ - --enable-shared --disable-static --disable-docs + --enable-shared --disable-static --disable-docs make }
