wok-next annotate octave/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 | c0521c689857 |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
llevrel@18685 | 4 VERSION="4.0.0" |
pascal@4906 | 5 CATEGORY="development" |
al@21020 | 6 SHORT_DESC="Language for numerical computations" |
pascal@4906 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@21020 | 9 WEB_SITE="http://www.gnu.org/software/octave/" |
al@21020 | 10 |
llevrel@18685 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@12575 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pascal@13796 | 13 |
pascal@13796 | 14 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ |
pascal@13796 | 15 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \ |
al@21020 | 16 libdrm-dev expat-dev libxml2-dev libgfortran zlib ncurses readline freetype \ |
al@21020 | 17 gcc-lib-base expat mesa glu xorg-libX11 xorg-libXext xorg-libXxf86vm \ |
al@21020 | 18 xorg-libXdamage xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl \ |
al@21020 | 19 lapack bash gcc fltk gnuplot" |
pascal@4906 | 20 |
al@21020 | 21 compile_rules() { |
slaxemulator@6643 | 22 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
slaxemulator@6643 | 23 FFLAGS="-O -ffloat-store" \ |
al@21020 | 24 ./configure \ |
al@21020 | 25 --prefix=/usr \ |
al@21020 | 26 --infodir=/usr/share/info \ |
al@21020 | 27 --libexecdir=/usr/lib/$PACKAGE \ |
al@21020 | 28 --mandir=/usr/share/man \ |
al@21020 | 29 --enable-shared \ |
al@21020 | 30 --disable-static \ |
al@21020 | 31 --disable-docs \ |
al@21020 | 32 $CONFIGURE_ARGS && |
pascal@15265 | 33 LANG=C make $MAKEFLAGS && |
al@21020 | 34 make DESTDIR=$install install |
pascal@4906 | 35 } |
pascal@4906 | 36 |
al@21020 | 37 genpkg_rules() { |
pascal@13796 | 38 cp -a $install/* $fs |
al@21020 | 39 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \ |
al@21020 | 40 mesa glu xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ |
al@21020 | 41 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \ |
al@21020 | 42 gcc fltk gnuplot" |
al@21020 | 43 TAGS="programming language" |
pascal@4906 | 44 } |