wok-current view scilab/receipt @ rev 24109

Up xplanet (1.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 09:25:18 2021 +0000 (2021-09-28)
parents f8a66ba2df40
children 2a0479881723
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="arpack-ng blas curl fftw gcc-lib-math hdf5 lapack libgfortran \
15 libxml2 matio pcre tk"
16 BUILD_DEPENDS="arpack-ng-dev blas curl-dev fftw-dev gettext gfortran \
17 hdf5-dev lapack libxml2-dev matio-dev ncursesw-dev ocaml pcre-dev \
18 pkg-config tcl-dev tk-dev xorg-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed 's|H5R_OBJECT|H5P_DEFAULT, &|' -i \
24 modules/hdf5/src/c/h5_readDataFromFile.c \
25 modules/hdf5/src/c/h5_readDataFromFile_v1.c
26 sed 's|H5Rdereference(file, |&H5P_DEFAULT, |' -i \
27 modules/hdf5/src/cpp/H5ReferenceData.cpp
29 export LDFLAGS="$LDFLAGS -ltinfo"
30 ./configure \
31 --prefix=/usr \
32 --without-javasci \
33 --without-gui \
34 --disable-build-help \
35 --without-umfpack \
36 $CONFIGURE_ARGS &&
37 make all &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs/
45 }