wok-next view giac/receipt @ rev 20780

GnuPG update: 2.1.21 (2017 May) -> 2.2.8 (CVE-2018-12020) -> GnuPG 2.2.x is the current stable branch of GnuPG
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 05:44:49 2018 +0000 (2018-06-09)
parents dd145c435e4b
children a244e109372e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="giac"
4 VERSION="1.4.9"
5 CATEGORY="misc"
6 SHORT_DESC="Giac/Xcas is a free computer algebra system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL"
14 BUILD_DEPENDS="gmp-dev mpfr-dev libpng16-dev gsl-dev pari-dev ntl readline-dev \
15 cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev libxml2-dev \
16 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev libboost-dev \
17 libboost-system xorg-libxshmfence-dev" # lapack
19 compile_rules() {
20 sed -i 's| doc | |' Makefile*
21 sed -i.ORG 's/protected:/public:/' \
22 /usr/include/FL/Fl_Input.H \
23 /usr/include/FL/Fl_PostScript.H
24 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
32 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
33 }
35 genpkg_rules() {
36 copy @std @dev
37 DEPENDS="gmp mpfr libpng16 gsl pari ntl readline cocoalib fltk gf2x"
38 }