wok-current annotate scilab/receipt @ rev 25451
Add bluez-gatttool
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Sep 15 07:47:22 2022 +0000 (2022-09-15) |
parents | 93cfbe138cae |
children | 73f36875e5a7 |
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@24436 | 20 # What is the latest version available today? |
pascal@24436 | 21 current_version() |
pascal@24436 | 22 { |
pascal@24436 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24436 | 24 sed 's|>|>\n|g' | sed '/\/download\//!d;s|.*scilab-||;s|".*||;q' |
pascal@24436 | 25 } |
pascal@24436 | 26 |
pascal@17970 | 27 # Rules to configure and make the package. |
pascal@17970 | 28 compile_rules() |
pascal@17970 | 29 { |
pascal@23069 | 30 sed 's|H5R_OBJECT|H5P_DEFAULT, &|' -i \ |
pascal@23069 | 31 modules/hdf5/src/c/h5_readDataFromFile.c \ |
pascal@23069 | 32 modules/hdf5/src/c/h5_readDataFromFile_v1.c |
pascal@23069 | 33 sed 's|H5Rdereference(file, |&H5P_DEFAULT, |' -i \ |
pascal@23069 | 34 modules/hdf5/src/cpp/H5ReferenceData.cpp |
pascal@23069 | 35 |
Hans-G?nter@21865 | 36 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21867 | 37 ./configure \ |
Hans-G?nter@21867 | 38 --prefix=/usr \ |
Hans-G?nter@21867 | 39 --without-javasci \ |
Hans-G?nter@21867 | 40 --without-gui \ |
Hans-G?nter@21867 | 41 --disable-build-help \ |
Hans-G?nter@21867 | 42 --without-umfpack \ |
pascal@17970 | 43 $CONFIGURE_ARGS && |
pascal@17970 | 44 make all && |
pascal@17970 | 45 make DESTDIR=$DESTDIR install |
pascal@17970 | 46 } |
pascal@17970 | 47 |
pascal@17970 | 48 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17970 | 49 genpkg_rules() |
pascal@17970 | 50 { |
pascal@17970 | 51 cp -a $install/* $fs/ |
pascal@17970 | 52 } |