wok-next diff octave/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c0521c689857
children 5669e8b3be70
line diff
     1.1 --- a/octave/receipt	Fri Mar 16 00:27:34 2018 +0200
     1.2 +++ b/octave/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,40 +1,44 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="octave"
     1.8  VERSION="4.0.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Language for numerical computations."
    1.11 +SHORT_DESC="Language for numerical computations"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://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  
    1.21 -DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
    1.22 -mesa glu xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
    1.23 -xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \
    1.24 -gcc fltk gnuplot"
    1.25  BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
    1.26  fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
    1.27 -libdrm-dev expat-dev libxml2-dev $DEPENDS"
    1.28 +libdrm-dev expat-dev libxml2-dev libgfortran zlib ncurses readline freetype \
    1.29 +gcc-lib-base expat mesa glu xorg-libX11 xorg-libXext xorg-libXxf86vm \
    1.30 +xorg-libXdamage xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl \
    1.31 +lapack bash gcc fltk gnuplot"
    1.32  
    1.33 -# Rules to configure and make the package.
    1.34 -compile_rules()
    1.35 -{
    1.36 +compile_rules() {
    1.37  	# http://www.nabble.com/Random-rounding-errors-td16010966.html
    1.38  	FFLAGS="-O -ffloat-store" \
    1.39 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.40 -	--libexecdir=/usr/lib/$PACKAGE \
    1.41 -	--mandir=/usr/share/man \
    1.42 -	--enable-shared --disable-static --disable-docs \
    1.43 -	$CONFIGURE_ARGS &&
    1.44 +	./configure \
    1.45 +		--prefix=/usr \
    1.46 +		--infodir=/usr/share/info \
    1.47 +		--libexecdir=/usr/lib/$PACKAGE \
    1.48 +		--mandir=/usr/share/man \
    1.49 +		--enable-shared \
    1.50 +		--disable-static \
    1.51 +		--disable-docs \
    1.52 +		$CONFIGURE_ARGS &&
    1.53  	LANG=C make $MAKEFLAGS &&
    1.54 -	make DESTDIR=$DESTDIR install
    1.55 +	make DESTDIR=$install install
    1.56  }
    1.57  
    1.58 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.59 -genpkg_rules()
    1.60 -{
    1.61 +genpkg_rules() {
    1.62  	cp -a $install/* $fs
    1.63 +	DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
    1.64 +	mesa glu xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
    1.65 +	xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \
    1.66 +	gcc fltk gnuplot"
    1.67 +	TAGS="programming language"
    1.68  }