wok view giac/receipt @ rev 24416

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