wok-current rev 21599

updated octave (4.0.0 -> 5.1.0)
author Hans-G?nter Theisgen
date Wed May 22 19:12:45 2019 +0100 (2019-05-22)
parents a92c3fff901e
children b1b5c2c950b5 a01ff9505078
files octave/receipt
line diff
     1.1 --- a/octave/receipt	Tue May 21 17:15:19 2019 +0100
     1.2 +++ b/octave/receipt	Wed May 22 19:12:45 2019 +0100
     1.3 @@ -1,37 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="octave"
     1.7 -VERSION="4.0.0"
     1.8 +VERSION="5.1.0"
     1.9  CATEGORY="development"
    1.10 +TAGS="programming language"
    1.11  SHORT_DESC="Language for numerical computations."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://www.gnu.org/software/octave/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="http://www.gnu.org/software/octave/"
    1.18 -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.19 -TAGS="programming language"
    1.20 +WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.21  
    1.22 -DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
    1.23 -mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
    1.24 -xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \
    1.25 -gcc fltk gnuplot"
    1.26 -BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
    1.27 -fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
    1.28 -libdrm-dev expat-dev libxml2-dev $DEPENDS"
    1.29 +DEPENDS="bash expat fltk freetype gcc83 gcc-lib-base gnuplot lapack libcurl libdrm \
    1.30 +	libgfortran libglu-mesa mesa ncurses pcre readline xorg-libX11 \
    1.31 +	xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXxf86vm \
    1.32 +	xorg-libXfixes zlib"
    1.33 +BUILD_DEPENDS="$DEPENDS curl-dev expat-dev fltk-dev freetype-dev gawk gfortran \
    1.34 +	lapack libdrm-dev libxml2-dev mesa-dev ncurses-dev pcre-dev perl \
    1.35 +	readline-dev tar texinfo xorg-dev zlib-dev"
    1.36  
    1.37  # Rules to configure and make the package.
    1.38  compile_rules()
    1.39  {
    1.40 +	export	CC=gcc-83
    1.41 +	export	CXX=g++-83
    1.42  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.43 -	cd $src
    1.44  
    1.45  	# http://www.nabble.com/Random-rounding-errors-td16010966.html
    1.46 -	FFLAGS="-O -ffloat-store" \
    1.47 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.48 -	--libexecdir=/usr/lib/$PACKAGE \
    1.49 -	--mandir=/usr/share/man \
    1.50 -	--enable-shared --disable-static --disable-docs \
    1.51 -	$CONFIGURE_ARGS &&
    1.52 +	FFLAGS="-O -ffloat-store"		\
    1.53 +	./configure				\
    1.54 +		--prefix=/usr			\
    1.55 +		--infodir=/usr/share/info	\
    1.56 +		--libexecdir=/usr/lib/$PACKAGE	\
    1.57 +		--mandir=/usr/share/man		\
    1.58 +		--enable-shared			\
    1.59 +		--disable-static		\
    1.60 +		--disable-docs			\
    1.61 +		$CONFIGURE_ARGS &&
    1.62  	LANG=C make $MAKEFLAGS &&
    1.63  	make DESTDIR=$DESTDIR install
    1.64  }
    1.65 @@ -41,5 +47,3 @@
    1.66  {
    1.67  	cp -a $install/* $fs
    1.68  }
    1.69 -
    1.70 -