wok view giac/receipt @ rev 16513
slim: remove wrong msg, it's transparent for users
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 25 03:00:47 2014 +0200 (2014-04-25) |
parents | 1e78d45df526 |
children | 20cdd5c4ed04 |
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 LICENSE="GPL3"
9 WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_frozen.tgz"
13 DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
14 BUILD_DEPENDS="gmp-dev mpfr-dev libpng-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-system-dev" # lapack
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
22 cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
23 sed -i '220,220s/protected/public/' /usr/include/FL/Fl_PostScript.H
24 sed -i '266,266s/protected/public/' /usr/include/FL/Fl_Input.H
25 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
29 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
30 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }