wok-6.x diff octave/receipt @ rev 6940
Up: slitaz-mercurial-style (2.1) with correct logo
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Oct 24 22:52:43 2010 +0200 (2010-10-24) |
parents | e631421c043c |
children | 07e6c84aad04 |
line diff
1.1 --- a/octave/receipt Sat Sep 25 23:58:17 2010 +0200 1.2 +++ b/octave/receipt Sun Oct 24 22:52:43 2010 +0200 1.3 @@ -8,7 +8,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://www.gnu.org/software/octave/" 1.6 WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL" 1.7 -BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev fltk" 1.8 +BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev fltk perl" 1.9 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \ 1.10 libgl libglu xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ 1.11 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl" 1.12 @@ -18,10 +18,17 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 + patch -Np1 -i ../stuff/octave-3.2.0_as_needed.patch 1.17 + patch -Np1 -i ../stuff/octave-3.2.0_parallel_make.patch 1.18 + 1.19 sed -i 's/scripts doc check/scripts check/' Makefile 1.20 + 1.21 + # http://www.nabble.com/Random-rounding-errors-td16010966.html 1.22 + FFLAGS="-O -ffloat-store" \ 1.23 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 --libexecdir=/usr/lib/$PACKAGE \ 1.25 --mandir=/usr/share/man \ 1.26 + --enable-shared --disable-static \ 1.27 $CONFIGURE_ARGS && 1.28 make -j 4 && 1.29 make DESTDIR=$PWD/_pkg install