wok-6.x rev 13096

Up: octave to 3.6.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 15:17:15 2012 +0000 (2012-06-26)
parents 31082f3d4f0f
children e1085ba13110
files octave/receipt octave/stuff/octave-3.2.0_as_needed.patch octave/stuff/octave-3.2.0_parallel_make.patch
line diff
     1.1 --- a/octave/receipt	Tue Jun 26 15:15:18 2012 +0000
     1.2 +++ b/octave/receipt	Tue Jun 26 15:17:15 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="octave"
     1.7 -VERSION="3.2.4"
     1.8 +VERSION="3.6.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Language for numerical computations."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,30 +9,27 @@
    1.13  WEB_SITE="http://www.gnu.org/software/octave/"
    1.14  WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.15  BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
    1.16 -fltk perl texinfo"
    1.17 -DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \
    1.18 +fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
    1.19 +libdrm-dev expat-dev $DEPENDS"
    1.20 +DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
    1.21  mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
    1.22 -xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl"
    1.23 +xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash"
    1.24  TAGS="programming language"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src
    1.30 -	patch -Np1 -i $stuff/octave-3.2.0_as_needed.patch
    1.31 -	patch -Np1 -i $stuff/octave-3.2.0_parallel_make.patch
    1.32 -
    1.33 -	sed -i 's/scripts doc check/scripts check/' Makefile
    1.34  
    1.35  	# http://www.nabble.com/Random-rounding-errors-td16010966.html
    1.36  	FFLAGS="-O -ffloat-store" \
    1.37  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.38  	--libexecdir=/usr/lib/$PACKAGE \
    1.39  	--mandir=/usr/share/man \
    1.40 -	--enable-shared --disable-static \
    1.41 +	--enable-shared --disable-static --disable-docs \
    1.42  	$CONFIGURE_ARGS &&
    1.43 -	make $MAKEFLAGS &&
    1.44 -	make DESTDIR=$PWD/_pkg install
    1.45 +	LANG=C make $MAKEFLAGS &&
    1.46 +	make DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/octave/stuff/octave-3.2.0_as_needed.patch	Tue Jun 26 15:15:18 2012 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,11 +0,0 @@
     2.4 -diff -Naur octave-3.2.0/liboctave/Makefile.in octave-3.2.0.new/liboctave/Makefile.in
     2.5 ---- octave-3.2.0/liboctave/Makefile.in	2009-05-25 02:04:59.000000000 -0400
     2.6 -+++ octave-3.2.0.new/liboctave/Makefile.in	2009-07-10 10:32:09.000000000 -0400
     2.7 -@@ -35,6 +35,7 @@
     2.8 - DLL_CXXDEFS = @OCTAVE_DLL_DEFS@
     2.9 - 
    2.10 - LINK_DEPS = \
    2.11 -+  -lpthread \
    2.12 -   -L../libcruft -L. $(RLD_FLAG) \
    2.13 -   $(LIBCRUFT) $(CHOLMOD_LIBS) $(UMFPACK_LIBS)  $(AMD_LIBS) \
    2.14 -   $(CAMD_LIBS) $(COLAMD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) \
     3.1 --- a/octave/stuff/octave-3.2.0_parallel_make.patch	Tue Jun 26 15:15:18 2012 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,12 +0,0 @@
     3.4 -diff -Naur octave-3.2.0/doc/Makefile.in octave-3.2.0.new/doc/Makefile.in
     3.5 ---- octave-3.2.0/doc/Makefile.in	2009-06-03 07:55:40.000000000 -0400
     3.6 -+++ octave-3.2.0.new/doc/Makefile.in	2009-07-07 18:20:14.000000000 -0400
     3.7 -@@ -30,6 +30,8 @@
     3.8 - all: conf.texi $(SUBDIRS)
     3.9 - .PHONY: all
    3.10 - 
    3.11 -+$(SUBDIRS): conf.texi
    3.12 -+
    3.13 - conf.texi: conf.texi.in $(TOPDIR)/Makeconf
    3.14 - 	@$(do-subst-texinfo-vals)
    3.15 -