wok-next diff scilab/receipt @ rev 20621

Add: fluxcomp, ldns, libndp, libnsl, nghttp2; up: directfb, libevent, libnl, libsoup, links, neon, serf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 13:24:59 2018 +0300 (2018-04-25)
parents 6477d7f70481
children d5aab818505e
line diff
     1.1 --- a/scilab/receipt	Wed Mar 21 16:15:19 2018 +0200
     1.2 +++ b/scilab/receipt	Wed Apr 25 13:24:59 2018 +0300
     1.3 @@ -1,35 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="scilab"
     1.8  VERSION="5.5.2"
     1.9  CATEGORY="office"
    1.10 -SHORT_DESC="Open source software for numerical computation."
    1.11 +SHORT_DESC="Open source software for numerical computation"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="CECILL"
    1.14 +WEB_SITE="http://www.scilab.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.17 -WEB_SITE="http://www.scilab.org/"
    1.18  WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS="libgfortran tk curl blas lapack hdf5 pcre fftw libxml2 gcc-lib-math \
    1.21 -arpack-ng matio"
    1.22  BUILD_DEPENDS="gfortran hdf5-dev ocaml fftw-dev libxml2-dev \
    1.23  gettext blas lapack curl-dev tcl-dev tk-dev xorg-dev ncurses-dev \
    1.24  arpack-ng-dev matio-dev"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 +compile_rules() {
    1.30  	fix math
    1.31 -	./configure --prefix=/usr \
    1.32 -		--without-javasci --without-gui --disable-build-help \
    1.33 +	./configure \
    1.34 +		--without-javasci \
    1.35 +		--without-gui \
    1.36 +		--disable-build-help \
    1.37  		--without-umfpack \
    1.38  		$CONFIGURE_ARGS &&
    1.39 +	fix libtool &&
    1.40  	make all &&
    1.41  	make DESTDIR=$DESTDIR install
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 -	cp -a $install/* $fs/
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="libgfortran tk curl blas lapack hdf5 pcre fftw libxml2 \
    1.51 +	gcc-lib-math arpack-ng matio"
    1.52  }