wok-next view giac/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 821915a97212 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="giac"
4 VERSION="1.4.9"
5 CATEGORY="misc"
6 SHORT_DESC="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 libpng-dev gsl-dev pari-dev ntl readline-dev \
15 cocoalib fltk-dev libx11-dev gf2x-dev libxinerama-dev libxml2-dev \
16 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev boost-dev \
17 boost-system 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 libpng gsl pari ntl readline cocoalib fltk gf2x"
38 }