wok-next view giac/receipt @ rev 13939
giac: partial dirty fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 22:09:47 2013 +0100 (2013-01-26) |
parents | 6b09507225ec |
children | 20ef1ec27a64 |
line source
1 # SliTaz package receipt.
3 PACKAGE="giac"
4 VERSION="0.9.4"
5 CATEGORY="misc"
6 SHORT_DESC="Giac/Xcas is a free computer algebra system"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_frozen.tgz"
12 DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
13 BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
14 cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev \
15 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev" # lapack
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
21 cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
22 sed -i '220,220s/protected/public/' /usr/include/FL/Fl_PostScript.H
23 sed -i '266,266s/protected/public/' /usr/include/FL/Fl_Input.H
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make install
27 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
28 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 :
35 #cp -a $install/* $fs
36 }