wok-6.x annotate giac/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
parents | 2b9f96603415 |
children | f4c22f009037 |
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@14999 | 8 LICENCE="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@13939 | 21 cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG |
pascal@13939 | 22 cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG |
pascal@13939 | 23 sed -i '220,220s/protected/public/' /usr/include/FL/Fl_PostScript.H |
pascal@13939 | 24 sed -i '266,266s/protected/public/' /usr/include/FL/Fl_Input.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 } |