wok-next annotate giac/receipt @ rev 20570
More fix libtool; audit: apply patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 09:28:50 2018 +0300 (2018-04-13) |
parents | dd145c435e4b |
children | a244e109372e |
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@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@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@19765 | 16 fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev libboost-dev \ |
pascal@20107 | 17 libboost-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 } |