wok-next annotate giac/receipt @ rev 17651
Up: xz 5.2.0
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 22:23:35 2015 +0000 (2015-02-14) |
parents | f4c22f009037 |
children | 243148b143dc |
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@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@16610 | 23 sed -i 's/protected:/public:/' /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_PostScript.H |
pascal@13943 | 24 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system" |
al@13723 | 25 ./configure $CONFIGURE_ARGS && |
al@13723 | 26 make && |
al@13723 | 27 make install |
pascal@13939 | 28 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H |
pascal@13939 | 29 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H |
al@13723 | 30 } |
al@13723 | 31 |
al@13723 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 33 genpkg_rules() |
al@13723 | 34 { |
pascal@13943 | 35 cp -a $install/* $fs |
al@13723 | 36 } |