wok-current annotate giac/receipt @ rev 20545

linld: typos (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 01 12:25:32 2018 +0100 (2018-12-01)
parents 20cdd5c4ed04
children 7fab01d460ad
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="giac"
al@13723 4 VERSION="0.9.4"
al@13723 5 CATEGORY="misc"
al@13723 6 SHORT_DESC="Giac/Xcas is a free computer algebra system"
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15201 8 LICENSE="GPL3"
al@13723 9 WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
al@13723 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13723 11 WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/giac_frozen.tgz"
al@13723 12
al@13723 13 DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
al@13723 14 BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
pascal@15014 15 cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev libxml2-dev \
pascal@13943 16 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev libboost-system-dev" # lapack
al@13723 17
al@13723 18 # Rules to configure and make the package.
al@13723 19 compile_rules()
al@13723 20 {
pascal@18439 21 sed -i 's| doc | |' Makefile*
pascal@13939 22 cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
pascal@13939 23 cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
pascal@16610 24 sed -i 's/protected:/public:/' /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_PostScript.H
pascal@13943 25 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
al@13723 26 ./configure $CONFIGURE_ARGS &&
al@13723 27 make &&
al@13723 28 make install
pascal@13939 29 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
pascal@13939 30 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
al@13723 31 }
al@13723 32
al@13723 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 34 genpkg_rules()
al@13723 35 {
pascal@13943 36 cp -a $install/* $fs
al@13723 37 }