wok-6.x annotate scilab/receipt @ rev 17970
Add scilab
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 17 23:05:43 2015 +0200 (2015-04-17) |
parents | |
children | bd9ee6246a16 |
rev | line source |
---|---|
pascal@17970 | 1 # SliTaz package receipt. |
pascal@17970 | 2 |
pascal@17970 | 3 PACKAGE="scilab" |
pascal@17970 | 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" |
pascal@17970 | 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@17970 | 10 WEB_SITE="http://www.scilab.org/" |
pascal@17970 | 11 WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL" |
pascal@17970 | 12 |
pascal@17970 | 13 DEPENDS="libgfortran tk curl blas lapack hdf5 pcre fftw libxml2" |
pascal@17970 | 14 BUILD_DEPENDS="pkg-config gfortran hdf5-dev ocaml fftw-dev libxml2-dev \ |
pascal@17970 | 15 gettext blas lapack curl-dev tcl-dev tk-dev xorg-dev" |
pascal@17970 | 16 |
pascal@17970 | 17 # Rules to configure and make the package. |
pascal@17970 | 18 compile_rules() |
pascal@17970 | 19 { |
pascal@17970 | 20 ./configure --prefix=/usr \ |
pascal@17970 | 21 --without-javasci --without-gui --disable-build-help \ |
pascal@17970 | 22 --without-arpack-ng \ |
pascal@17970 | 23 --without-umfpack \ |
pascal@17970 | 24 --without-matio \ |
pascal@17970 | 25 $CONFIGURE_ARGS && |
pascal@17970 | 26 make all && |
pascal@17970 | 27 make DESTDIR=$DESTDIR install |
pascal@17970 | 28 } |
pascal@17970 | 29 |
pascal@17970 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17970 | 31 genpkg_rules() |
pascal@17970 | 32 { |
pascal@17970 | 33 cp -a $install/* $fs/ |
pascal@17970 | 34 } |