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