wok rev 21867

compile scilab with gcc83
author Hans-G?nter Theisgen
date Tue Sep 24 16:35:35 2019 +0100 (2019-09-24)
parents 90a4a17c887f
children f8a66ba2df40
files scilab/receipt
line diff
     1.1 --- a/scilab/receipt	Tue Sep 24 16:03:49 2019 +0100
     1.2 +++ b/scilab/receipt	Tue Sep 24 16:35:35 2019 +0100
     1.3 @@ -6,23 +6,29 @@
     1.4  SHORT_DESC="Open source software for numerical computation."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="CECILL"
     1.7 +WEB_SITE="http://www.scilab.org/"
     1.8 +
     1.9  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.10 -WEB_SITE="http://www.scilab.org/"
    1.11  WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
    1.12  
    1.13 -DEPENDS="libgfortran tk curl blas lapack hdf5 pcre fftw libxml2 gcc-lib-math \
    1.14 -arpack-ng matio"
    1.15 -BUILD_DEPENDS="pkg-config gfortran hdf5-dev ocaml fftw-dev libxml2-dev \
    1.16 -gettext blas lapack curl-dev tcl-dev tk-dev xorg-dev ncursesw-dev \
    1.17 -arpack-ng-dev matio-dev"
    1.18 +DEPENDS="gcc83-lib-base libgfortran tk curl blas lapack hdf5 pcre fftw libxml2 gcc-lib-math \
    1.19 +	arpack-ng matio"
    1.20 +BUILD_DEPENDS="gcc83 gfortran hdf5-dev ocaml fftw-dev libxml2-dev \
    1.21 +	gettext blas lapack curl-dev pkg-config tcl-dev tk-dev xorg-dev ncursesw-dev \
    1.22 +	arpack-ng-dev matio-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.28 -	./configure --prefix=/usr \
    1.29 -		--without-javasci --without-gui --disable-build-help \
    1.30 -		--without-umfpack \
    1.31 +	./configure			\
    1.32 +		--prefix=/usr		\
    1.33 +		--without-javasci	\
    1.34 +		--without-gui		\
    1.35 +		--disable-build-help	\
    1.36 +		--without-umfpack	\
    1.37 +		CC=gcc-83		\
    1.38 +		CXX=g++-83		\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make all &&
    1.41  	make DESTDIR=$DESTDIR install