wok diff giac/receipt @ rev 24360

ardour: give gcc83 a try
author Hans-G?nter Theisgen
date Fri Feb 04 07:19:07 2022 +0100 (2022-02-04)
parents 243148b143dc
children b78e79c31b1f
line diff
     1.1 --- a/giac/receipt	Wed Sep 23 18:02:54 2015 +0200
     1.2 +++ b/giac/receipt	Fri Feb 04 07:19:07 2022 +0100
     1.3 @@ -1,33 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="giac"
     1.7 -VERSION="0.9.4"
     1.8 +VERSION="1.5.0.85"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Giac/Xcas is a free computer algebra system"
    1.11 +SHORT_DESC="A free computer algebra system."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_frozen.tgz"
    1.17 +WEB_SITE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
    1.18  
    1.19 -DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
    1.20 -BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
    1.21 -cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev libxml2-dev \
    1.22 -fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev libboost-system-dev" # lapack
    1.23 +TARBALL="${PACKAGE}_${VERSION%.*}-${VERSION##*.}.tar.gz"
    1.24 +WGET_URL="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/$TARBALL"
    1.25 +
    1.26 +DEPENDS="cocoalib fltk gf2x gmp gsl libpng mpfr ntl pari readline"
    1.27 +BUILD_DEPENDS="bison cocoalib expat-dev fltk-2.0.x-gl fltk-dev gf2x-dev 
    1.28 +	gfortran gmp-dev gsl-dev libboost-system-dev libpng-dev 
    1.29 +	libtool libxml2-dev mesa-dev mpfr-dev ntl pari-dev readline-dev 
    1.30 +	xorg-libX11-dev xorg-libXinerama-dev" # lapack
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35  	sed -i 's| doc | |' Makefile*
    1.36 -	cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
    1.37 -	cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
    1.38 -	sed -i 's/protected:/public:/' /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_PostScript.H
    1.39 +	cp /usr/include/FL/Fl_PostScript.H	/usr/include/FL/Fl_PostScript.H.ORG
    1.40 +	cp /usr/include/FL/Fl_Input.H		/usr/include/FL/Fl_Input.H.ORG
    1.41 +	sed -i 's/protected:/public:/' \
    1.42 +		/usr/include/FL/Fl_Input.H \
    1.43 +		/usr/include/FL/Fl_PostScript.H
    1.44  	export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
    1.45 +
    1.46  	./configure $CONFIGURE_ARGS &&
    1.47  	make &&
    1.48  	make install
    1.49 -	mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
    1.50 -	mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
    1.51 +
    1.52 +	mv -f /usr/include/FL/Fl_PostScript.H.ORG	/usr/include/FL/Fl_PostScript.H
    1.53 +	mv -f /usr/include/FL/Fl_Input.H.ORG		/usr/include/FL/Fl_Input.H
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.