wok-6.x annotate scilab/receipt @ rev 23792
updated zbar and zbar-dev (0.23 -> 0.23.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 08:05:29 2020 +0100 (2020-05-22) |
parents | f8a66ba2df40 |
children | 2a0479881723 |
rev | line source |
---|---|
pascal@17970 | 1 # SliTaz package receipt. |
pascal@17970 | 2 |
pascal@17970 | 3 PACKAGE="scilab" |
Hans-G?nter@21865 | 4 VERSION="5.5.2" |
pascal@17970 | 5 CATEGORY="office" |
pascal@17970 | 6 SHORT_DESC="Open source software for numerical computation." |
pascal@17970 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17970 | 8 LICENSE="CECILL" |
Hans-G?nter@21867 | 9 WEB_SITE="http://www.scilab.org/" |
Hans-G?nter@21867 | 10 |
pascal@17970 | 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@17970 | 12 WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL" |
pascal@17970 | 13 |
Hans-G?nter@21868 | 14 DEPENDS="arpack-ng blas curl fftw gcc-lib-math hdf5 lapack libgfortran \ |
Hans-G?nter@21868 | 15 libxml2 matio pcre tk" |
Hans-G?nter@21868 | 16 BUILD_DEPENDS="arpack-ng-dev blas curl-dev fftw-dev gettext gfortran \ |
Hans-G?nter@21868 | 17 hdf5-dev lapack libxml2-dev matio-dev ncursesw-dev ocaml pcre-dev \ |
Hans-G?nter@21868 | 18 pkg-config tcl-dev tk-dev xorg-dev" |
pascal@17970 | 19 |
pascal@17970 | 20 # Rules to configure and make the package. |
pascal@17970 | 21 compile_rules() |
pascal@17970 | 22 { |
pascal@23069 | 23 sed 's|H5R_OBJECT|H5P_DEFAULT, &|' -i \ |
pascal@23069 | 24 modules/hdf5/src/c/h5_readDataFromFile.c \ |
pascal@23069 | 25 modules/hdf5/src/c/h5_readDataFromFile_v1.c |
pascal@23069 | 26 sed 's|H5Rdereference(file, |&H5P_DEFAULT, |' -i \ |
pascal@23069 | 27 modules/hdf5/src/cpp/H5ReferenceData.cpp |
pascal@23069 | 28 |
Hans-G?nter@21865 | 29 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21867 | 30 ./configure \ |
Hans-G?nter@21867 | 31 --prefix=/usr \ |
Hans-G?nter@21867 | 32 --without-javasci \ |
Hans-G?nter@21867 | 33 --without-gui \ |
Hans-G?nter@21867 | 34 --disable-build-help \ |
Hans-G?nter@21867 | 35 --without-umfpack \ |
pascal@17970 | 36 $CONFIGURE_ARGS && |
pascal@17970 | 37 make all && |
pascal@17970 | 38 make DESTDIR=$DESTDIR install |
pascal@17970 | 39 } |
pascal@17970 | 40 |
pascal@17970 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17970 | 42 genpkg_rules() |
pascal@17970 | 43 { |
pascal@17970 | 44 cp -a $install/* $fs/ |
pascal@17970 | 45 } |