# HG changeset patch # User Christopher Rogers # Date 1340723835 0 # Node ID 555aa16b67438e15756fa96396b60b1b6f73f88a # Parent 31082f3d4f0f117de86aed537f6ae321578fb8fd Up: octave to 3.6.2. diff -r 31082f3d4f0f -r 555aa16b6743 octave/receipt --- a/octave/receipt Tue Jun 26 15:15:18 2012 +0000 +++ b/octave/receipt Tue Jun 26 15:17:15 2012 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="octave" -VERSION="3.2.4" +VERSION="3.6.2" CATEGORY="development" SHORT_DESC="Language for numerical computations." MAINTAINER="pascal.bellard@slitaz.org" @@ -9,30 +9,27 @@ WEB_SITE="http://www.gnu.org/software/octave/" WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ -fltk perl texinfo" -DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \ +fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \ +libdrm-dev expat-dev $DEPENDS" +DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \ mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ -xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl" +xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash" TAGS="programming language" # Rules to configure and make the package. compile_rules() { cd $src - patch -Np1 -i $stuff/octave-3.2.0_as_needed.patch - patch -Np1 -i $stuff/octave-3.2.0_parallel_make.patch - - sed -i 's/scripts doc check/scripts check/' Makefile # http://www.nabble.com/Random-rounding-errors-td16010966.html FFLAGS="-O -ffloat-store" \ ./configure --prefix=/usr --infodir=/usr/share/info \ --libexecdir=/usr/lib/$PACKAGE \ --mandir=/usr/share/man \ - --enable-shared --disable-static \ + --enable-shared --disable-static --disable-docs \ $CONFIGURE_ARGS && - make $MAKEFLAGS && - make DESTDIR=$PWD/_pkg install + LANG=C make $MAKEFLAGS && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 31082f3d4f0f -r 555aa16b6743 octave/stuff/octave-3.2.0_as_needed.patch --- a/octave/stuff/octave-3.2.0_as_needed.patch Tue Jun 26 15:15:18 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -diff -Naur octave-3.2.0/liboctave/Makefile.in octave-3.2.0.new/liboctave/Makefile.in ---- octave-3.2.0/liboctave/Makefile.in 2009-05-25 02:04:59.000000000 -0400 -+++ octave-3.2.0.new/liboctave/Makefile.in 2009-07-10 10:32:09.000000000 -0400 -@@ -35,6 +35,7 @@ - DLL_CXXDEFS = @OCTAVE_DLL_DEFS@ - - LINK_DEPS = \ -+ -lpthread \ - -L../libcruft -L. $(RLD_FLAG) \ - $(LIBCRUFT) $(CHOLMOD_LIBS) $(UMFPACK_LIBS) $(AMD_LIBS) \ - $(CAMD_LIBS) $(COLAMD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) \ diff -r 31082f3d4f0f -r 555aa16b6743 octave/stuff/octave-3.2.0_parallel_make.patch --- a/octave/stuff/octave-3.2.0_parallel_make.patch Tue Jun 26 15:15:18 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -diff -Naur octave-3.2.0/doc/Makefile.in octave-3.2.0.new/doc/Makefile.in ---- octave-3.2.0/doc/Makefile.in 2009-06-03 07:55:40.000000000 -0400 -+++ octave-3.2.0.new/doc/Makefile.in 2009-07-07 18:20:14.000000000 -0400 -@@ -30,6 +30,8 @@ - all: conf.texi $(SUBDIRS) - .PHONY: all - -+$(SUBDIRS): conf.texi -+ - conf.texi: conf.texi.in $(TOPDIR)/Makeconf - @$(do-subst-texinfo-vals) -