wok-next annotate giac/receipt @ rev 21196
updated scrollz again (2.2.3 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 16:09:40 2019 +0100 (2019-10-03) |
parents | d5aab818505e |
children | 821915a97212 |
rev | line source |
---|---|
al@20570 | 1 # SliTaz package receipt v2. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="giac" |
pascal@20107 | 4 VERSION="1.4.9" |
al@13723 | 5 CATEGORY="misc" |
al@21020 | 6 SHORT_DESC="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@20570 | 10 |
al@13723 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20107 | 12 WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL" |
al@13723 | 13 |
al@21078 | 14 BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \ |
al@21078 | 15 cocoalib fltk-dev libx11-dev gf2x-dev libxinerama-dev libxml2-dev \ |
al@20915 | 16 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev boost-dev \ |
al@21078 | 17 boost-system libxshmfence-dev" # lapack |
al@13723 | 18 |
al@20570 | 19 compile_rules() { |
pascal@18439 | 20 sed -i 's| doc | |' Makefile* |
al@20570 | 21 sed -i.ORG 's/protected:/public:/' \ |
al@20570 | 22 /usr/include/FL/Fl_Input.H \ |
al@20570 | 23 /usr/include/FL/Fl_PostScript.H |
pascal@13943 | 24 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system" |
al@20570 | 25 |
al@13723 | 26 ./configure $CONFIGURE_ARGS && |
al@20570 | 27 fix libtool && |
al@13723 | 28 make && |
al@20570 | 29 make install || return 1 |
al@20570 | 30 |
pascal@13939 | 31 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H |
al@20570 | 32 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H |
al@13723 | 33 } |
al@13723 | 34 |
al@20570 | 35 genpkg_rules() { |
al@20570 | 36 copy @std @dev |
al@21078 | 37 DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x" |
al@13723 | 38 } |