wok-current annotate giac/receipt @ rev 23453

updated pugixml (1.9 -> 1.10)
author Hans-G?nter Theisgen
date Fri Apr 03 10:50:04 2020 +0100 (2020-04-03)
parents 243148b143dc
children b78e79c31b1f
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="giac"
Hans-G?nter@22845 4 VERSION="1.5.0.85"
al@13723 5 CATEGORY="misc"
Hans-G?nter@22845 6 SHORT_DESC="A free computer algebra system."
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15201 8 LICENSE="GPL3"
Hans-G?nter@22845 9 WEB_SITE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
al@13723 10
Hans-G?nter@22845 11 TARBALL="${PACKAGE}_${VERSION%.*}-${VERSION##*.}.tar.gz"
Hans-G?nter@22845 12 WGET_URL="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/$TARBALL"
Hans-G?nter@22845 13
Hans-G?nter@22845 14 DEPENDS="cocoalib fltk gf2x gmp gsl libpng mpfr ntl pari readline"
Hans-G?nter@22845 15 BUILD_DEPENDS="bison cocoalib expat-dev fltk-2.0.x-gl fltk-dev gf2x-dev
Hans-G?nter@22845 16 gfortran gmp-dev gsl-dev libboost-system-dev libpng-dev
Hans-G?nter@22845 17 libtool libxml2-dev mesa-dev mpfr-dev ntl pari-dev readline-dev
Hans-G?nter@22845 18 xorg-libX11-dev xorg-libXinerama-dev" # lapack
al@13723 19
al@13723 20 # Rules to configure and make the package.
al@13723 21 compile_rules()
al@13723 22 {
pascal@18439 23 sed -i 's| doc | |' Makefile*
Hans-G?nter@22845 24 cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
Hans-G?nter@22845 25 cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
Hans-G?nter@22845 26 sed -i 's/protected:/public:/' \
Hans-G?nter@22845 27 /usr/include/FL/Fl_Input.H \
Hans-G?nter@22845 28 /usr/include/FL/Fl_PostScript.H
pascal@13943 29 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
Hans-G?nter@22845 30
al@13723 31 ./configure $CONFIGURE_ARGS &&
al@13723 32 make &&
al@13723 33 make install
Hans-G?nter@22845 34
Hans-G?nter@22845 35 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
Hans-G?nter@22845 36 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
al@13723 37 }
al@13723 38
al@13723 39 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 40 genpkg_rules()
al@13723 41 {
pascal@13943 42 cp -a $install/* $fs
al@13723 43 }