wok-next view giac/receipt @ rev 20631

lame: fix 32 bit build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 10:25:51 2018 +0300 (2018-04-27)
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 }