wok view scilab/receipt @ rev 24950
updated nagios-plugins and nagios-plugins-mysql (2.3.3 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 10:03:51 2022 +0100 (2022-04-23) |
parents | 93cfbe138cae |
children | 73f36875e5a7 |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed 's|>|>\n|g' | sed '/\/download\//!d;s|.*scilab-||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed 's|H5R_OBJECT|H5P_DEFAULT, &|' -i \
31 modules/hdf5/src/c/h5_readDataFromFile.c \
32 modules/hdf5/src/c/h5_readDataFromFile_v1.c
33 sed 's|H5Rdereference(file, |&H5P_DEFAULT, |' -i \
34 modules/hdf5/src/cpp/H5ReferenceData.cpp
36 export LDFLAGS="$LDFLAGS -ltinfo"
37 ./configure \
38 --prefix=/usr \
39 --without-javasci \
40 --without-gui \
41 --disable-build-help \
42 --without-umfpack \
43 $CONFIGURE_ARGS &&
44 make all &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 cp -a $install/* $fs/
52 }