wok-next annotate giac/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 4cb236709552 |
children |
rev | line source |
---|---|
al@20570 | 1 # SliTaz package receipt v2. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="giac" |
Hans-G?nter@21356 | 4 VERSION="1.5.0" |
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" |
Hans-G?nter@21278 | 9 WEB_SITE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html" |
al@20570 | 10 |
al@21363 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21278 | 12 WGET_URL="https://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL" |
al@13723 | 13 |
Hans-G?nter@21278 | 14 BUILD_DEPENDS="bison boost-dev boost-system cocoalib expat-dev fltk-2.0.x-gl |
Hans-G?nter@21278 | 15 fltk-dev gf2x-dev gfortran gmp-dev gsl-dev libpng-dev libx11-dev |
Hans-G?nter@21278 | 16 libxinerama-dev libxml2-dev libxshmfence-dev mesa-dev mpfr-dev ntl |
Hans-G?nter@21278 | 17 pari-dev readline-dev" # lapack |
al@13723 | 18 |
Hans-G?nter@21278 | 19 compile_rules() |
Hans-G?nter@21278 | 20 { |
pascal@18439 | 21 sed -i 's| doc | |' Makefile* |
al@20570 | 22 sed -i.ORG 's/protected:/public:/' \ |
al@20570 | 23 /usr/include/FL/Fl_Input.H \ |
al@20570 | 24 /usr/include/FL/Fl_PostScript.H |
Hans-G?nter@21278 | 25 |
pascal@13943 | 26 export LDFLAGS="$LDFLAGS -lgf2x -lboost_system" |
al@20570 | 27 |
al@13723 | 28 ./configure $CONFIGURE_ARGS && |
al@20570 | 29 fix libtool && |
al@13723 | 30 make && |
al@20570 | 31 make install || return 1 |
al@20570 | 32 |
pascal@13939 | 33 mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H |
al@20570 | 34 mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H |
al@13723 | 35 } |
al@13723 | 36 |
Hans-G?nter@21278 | 37 genpkg_rules() |
Hans-G?nter@21278 | 38 { |
al@20570 | 39 copy @std @dev |
Hans-G?nter@21278 | 40 DEPENDS="cocoalib fltk gf2x gmp gsl libpng mpfr ntl pari readline" |
al@13723 | 41 } |