wok-next view giac/receipt @ rev 21383
updated nbd again (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:34:38 2020 +0100 (2020-04-16) |
parents | 4cb236709552 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="giac"
4 VERSION="1.5.0"
5 CATEGORY="misc"
6 SHORT_DESC="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.tar.gz"
12 WGET_URL="https://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL"
14 BUILD_DEPENDS="bison boost-dev boost-system cocoalib expat-dev fltk-2.0.x-gl
15 fltk-dev gf2x-dev gfortran gmp-dev gsl-dev libpng-dev libx11-dev
16 libxinerama-dev libxml2-dev libxshmfence-dev mesa-dev mpfr-dev ntl
17 pari-dev readline-dev" # lapack
19 compile_rules()
20 {
21 sed -i 's| doc | |' Makefile*
22 sed -i.ORG 's/protected:/public:/' \
23 /usr/include/FL/Fl_Input.H \
24 /usr/include/FL/Fl_PostScript.H
26 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
28 ./configure $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install || return 1
33 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
34 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
35 }
37 genpkg_rules()
38 {
39 copy @std @dev
40 DEPENDS="cocoalib fltk gf2x gmp gsl libpng mpfr ntl pari readline"
41 }