# HG changeset patch # User Hans-G?nter Theisgen # Date 1558548765 -3600 # Node ID 275dddf178580a73452227febce9201a95925456 # Parent a92c3fff901e37199f2123d044f51b74c834f1a0 updated octave (4.0.0 -> 5.1.0) diff -r a92c3fff901e -r 275dddf17858 octave/receipt --- a/octave/receipt Tue May 21 17:15:19 2019 +0100 +++ b/octave/receipt Wed May 22 19:12:45 2019 +0100 @@ -1,37 +1,43 @@ # SliTaz package receipt. PACKAGE="octave" -VERSION="4.0.0" +VERSION="5.1.0" CATEGORY="development" +TAGS="programming language" SHORT_DESC="Language for numerical computations." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/octave/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.gnu.org/software/octave/" -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" -TAGS="programming language" +WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" -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 lapack bash \ -gcc fltk gnuplot" -BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ -fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \ -libdrm-dev expat-dev libxml2-dev $DEPENDS" +DEPENDS="bash expat fltk freetype gcc83 gcc-lib-base gnuplot lapack libcurl libdrm \ + libgfortran libglu-mesa mesa ncurses pcre readline xorg-libX11 \ + xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXxf86vm \ + xorg-libXfixes zlib" +BUILD_DEPENDS="$DEPENDS curl-dev expat-dev fltk-dev freetype-dev gawk gfortran \ + lapack libdrm-dev libxml2-dev mesa-dev ncurses-dev pcre-dev perl \ + readline-dev tar texinfo xorg-dev zlib-dev" # Rules to configure and make the package. compile_rules() { + export CC=gcc-83 + export CXX=g++-83 export LDFLAGS="$LDFLAGS -ltinfo" - cd $src # 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 --disable-docs \ - $CONFIGURE_ARGS && + FFLAGS="-O -ffloat-store" \ + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib/$PACKAGE \ + --mandir=/usr/share/man \ + --enable-shared \ + --disable-static \ + --disable-docs \ + $CONFIGURE_ARGS && LANG=C make $MAKEFLAGS && make DESTDIR=$DESTDIR install } @@ -41,5 +47,3 @@ { cp -a $install/* $fs } - -