wok-current view scilab/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
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 }