wok rev 17970

Add scilab
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 17 23:05:43 2015 +0200 (2015-04-17)
parents ff64b7a1ba89
children 798cfdd09060
files scilab/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scilab/receipt	Fri Apr 17 23:05:43 2015 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="scilab"
     1.7 +VERSION="5.5.2"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Open source software for numerical computation."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="CECILL"
    1.12 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.13 +WEB_SITE="http://www.scilab.org/"
    1.14 +WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libgfortran tk curl blas lapack hdf5 pcre fftw libxml2"
    1.17 +BUILD_DEPENDS="pkg-config gfortran hdf5-dev ocaml fftw-dev libxml2-dev \
    1.18 +gettext blas lapack curl-dev tcl-dev tk-dev xorg-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure --prefix=/usr \
    1.24 +		--without-javasci --without-gui --disable-build-help \
    1.25 +		--without-arpack-ng \
    1.26 +		--without-umfpack \
    1.27 +		--without-matio \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make all &&
    1.30 +	make DESTDIR=$DESTDIR install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/* $fs/
    1.37 +}