wok-next view giac/receipt @ rev 20215
rsync, x11vnc, xautomation, xinput-calibrator, xlockmore: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 05 09:09:04 2017 +0100 (2017-11-05) |
parents | 2f3aba6cc31e |
children | dd145c435e4b |
line source
1 # SliTaz package receipt.
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL"
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-dev \
17 libboost-system xorg-libxshmfence-dev" # lapack
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's| doc | |' Makefile*
23 cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
24 cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
25 sed -i 's/protected:/public:/' /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_PostScript.H
26 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
31 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }