wok-next rev 21278

updated giac (1.4.9 -> 1.5.0.75)
author Hans-G?nter Theisgen
date Sat Dec 07 16:47:36 2019 +0100 (2019-12-07)
parents 9484af62ebcd
children 1030c74ec82c
files giac/receipt
line diff
     1.1 --- a/giac/receipt	Sat Dec 07 16:00:59 2019 +0100
     1.2 +++ b/giac/receipt	Sat Dec 07 16:47:36 2019 +0100
     1.3 @@ -1,26 +1,28 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="giac"
     1.7 -VERSION="1.4.9"
     1.8 +VERSION="1.5.0.75"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Free computer algebra system"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="GPL3"
    1.13 -WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
    1.14 +WEB_SITE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL"
    1.18 +TARBALL="$PACKAGE-${VERSION%.*}-${VERSION##*.}.tar.gz"
    1.19 +WGET_URL="https://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL"
    1.20  
    1.21 -BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
    1.22 -cocoalib fltk-dev libx11-dev gf2x-dev libxinerama-dev libxml2-dev \
    1.23 -fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev boost-dev \
    1.24 -boost-system libxshmfence-dev" # lapack
    1.25 +BUILD_DEPENDS="bison boost-dev boost-system cocoalib expat-dev fltk-2.0.x-gl 
    1.26 +	fltk-dev gf2x-dev gfortran gmp-dev gsl-dev libpng-dev libx11-dev 
    1.27 +	libxinerama-dev libxml2-dev libxshmfence-dev mesa-dev mpfr-dev ntl 
    1.28 +	pari-dev readline-dev" # lapack
    1.29  
    1.30 -compile_rules() {
    1.31 +compile_rules()
    1.32 +{
    1.33  	sed -i 's| doc | |' Makefile*
    1.34  	sed -i.ORG 's/protected:/public:/' \
    1.35  		/usr/include/FL/Fl_Input.H \
    1.36  		/usr/include/FL/Fl_PostScript.H
    1.37 +
    1.38  	export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
    1.39  
    1.40  	./configure $CONFIGURE_ARGS &&
    1.41 @@ -32,7 +34,8 @@
    1.42  	mv -f /usr/include/FL/Fl_Input.H.ORG      /usr/include/FL/Fl_Input.H
    1.43  }
    1.44  
    1.45 -genpkg_rules() {
    1.46 +genpkg_rules()
    1.47 +{
    1.48  	copy @std @dev
    1.49 -	DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
    1.50 +	DEPENDS="cocoalib fltk gf2x gmp gsl libpng mpfr ntl pari readline"
    1.51  }