wok-current view scilab/receipt @ rev 21867

compile scilab with gcc83
author Hans-G?nter Theisgen
date Tue Sep 24 16:35:35 2019 +0100 (2019-09-24)
parents 11cb94e92478
children f8a66ba2df40
line source
1 # SliTaz package receipt.
3 PACKAGE="scilab"
4 VERSION="5.5.2"
5 CATEGORY="office"
6 SHORT_DESC="Open source software for numerical computation."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CECILL"
9 WEB_SITE="http://www.scilab.org/"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base libgfortran tk curl blas lapack hdf5 pcre fftw libxml2 gcc-lib-math \
15 arpack-ng matio"
16 BUILD_DEPENDS="gcc83 gfortran hdf5-dev ocaml fftw-dev libxml2-dev \
17 gettext blas lapack curl-dev pkg-config tcl-dev tk-dev xorg-dev ncursesw-dev \
18 arpack-ng-dev matio-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export LDFLAGS="$LDFLAGS -ltinfo"
24 ./configure \
25 --prefix=/usr \
26 --without-javasci \
27 --without-gui \
28 --disable-build-help \
29 --without-umfpack \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 $CONFIGURE_ARGS &&
33 make all &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs/
41 }