wok-next view giac/receipt @ rev 19811
Up btrfs-progs, fuse, gtkmm, gtkmm-dev, jfsutils, libaal, libacpi, libaio, libarchive, libart_lgpl, libass, libbonoboui, libcddb, libcdio, libconfig, libcroco, libcss, libparserutils, libwapcaplet, slitaz-i18n-extra; (re)move locale-*-extra -> slitaz-i18n-extra; add netsurf-buildsystem.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 20 00:33:52 2017 +0300 (2017-07-20) |
parents | 243148b143dc |
children | e8a7459f6636 |
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-dev \
17 libboost-system" # 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 }