wok-next rev 21389

updated octave (4.0.0 -> 5.2.0)
author Hans-G?nter Theisgen
date Fri Apr 17 15:23:40 2020 +0100 (2020-04-17)
parents b19bbe01a93a
children 366726af530d
files octave/receipt
line diff
     1.1 --- a/octave/receipt	Fri Apr 17 14:42:46 2020 +0100
     1.2 +++ b/octave/receipt	Fri Apr 17 15:23:40 2020 +0100
     1.3 @@ -1,8 +1,9 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="octave"
     1.7 -VERSION="4.0.0"
     1.8 +VERSION="5.2.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 @@ -11,34 +12,37 @@
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.17  
    1.18 -BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
    1.19 -fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
    1.20 -libdrm-dev expat-dev libxml2-dev libgfortran zlib ncurses readline freetype \
    1.21 -gcc-lib-base expat mesa glu libx11 libxext libxxf86vm \
    1.22 -libxdamage libxfixes libdrm libxau libxdmcp pcre libcurl \
    1.23 -lapack bash gcc fltk gnuplot"
    1.24 +BUILD_DEPENDS="bash curl-dev expat expat-dev fltk fltk-dev freetype 
    1.25 +	freetype-dev gawk gcc gcc-lib-base gfortran glu gnuplot lapack 
    1.26 +	libcurl libdrm libdrm-dev libgfortran libxml2-dev libx11 libxau 
    1.27 +	libxdamage libxdmcp libxext libxfixes libxxf86vm mesa mesa-dev 
    1.28 +	ncurses ncurses-dev pcre pcre-dev perl readline readline-dev 
    1.29 +	tar texinfo xorg-dev zlib zlib-dev"
    1.30  
    1.31 -compile_rules() {
    1.32 +compile_rules()
    1.33 +{
    1.34  	# http://www.nabble.com/Random-rounding-errors-td16010966.html
    1.35  	FFLAGS="-O -ffloat-store" \
    1.36 -	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--infodir=/usr/share/info \
    1.39 -		--libexecdir=/usr/lib/$PACKAGE \
    1.40 -		--mandir=/usr/share/man \
    1.41 -		--enable-shared \
    1.42 -		--disable-static \
    1.43 -		--disable-docs \
    1.44 +
    1.45 +	./configure				\
    1.46 +		--prefix=/usr			\
    1.47 +		--infodir=/usr/share/info	\
    1.48 +		--libexecdir=/usr/lib/$PACKAGE	\
    1.49 +		--mandir=/usr/share/man		\
    1.50 +		--enable-shared			\
    1.51 +		--disable-static		\
    1.52 +		--disable-docs			\
    1.53  		$CONFIGURE_ARGS &&
    1.54 -	LANG=C make $MAKEFLAGS &&
    1.55 +	make LANG=C $MAKEFLAGS &&
    1.56  	make DESTDIR=$install install
    1.57  }
    1.58  
    1.59 -genpkg_rules() {
    1.60 -	cp -a $install/* $fs
    1.61 -	DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
    1.62 -	mesa glu libx11 libxext libxxf86vm libxdamage \
    1.63 -	libxfixes libdrm libxau libxdmcp pcre libcurl lapack bash \
    1.64 -	gcc fltk gnuplot"
    1.65 -	TAGS="programming language"
    1.66 +genpkg_rules()
    1.67 +{
    1.68 +	cp -a $install/*	$fs
    1.69 +
    1.70 +	DEPENDS="bash expat fltk freetype gcc gcc-lib-base glu gnuplot 
    1.71 +		lapack libcurl libdrm libgfortran libx11 libxau libxdamage 
    1.72 +		libxdmcp libxext libxfixes libxxf86vm mesa ncurses pcre 
    1.73 +		readline zlib"
    1.74  }