wok-next annotate giac/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a244e109372e |
children | 5669e8b3be70 |
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@20454 | 14 BUILD_DEPENDS="gmp-dev mpfr-dev libpng16-dev gsl-dev pari-dev ntl readline-dev \ |
pascal@15014 | 15 cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev libxml2-dev \ |
al@20915 | 16 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev boost-dev \ |
al@20915 | 17 boost-system xorg-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@20570 | 37 DEPENDS="gmp mpfr libpng16 gsl pari ntl readline cocoalib fltk gf2x" |
al@13723 | 38 } |