wok-current view octave/receipt @ rev 14773

Up musl-libc (0.9.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 10:13:50 2013 +0200 (2013-06-30)
parents 190d76fd43ca
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="octave"
4 VERSION="3.6.2"
5 CATEGORY="development"
6 SHORT_DESC="Language for numerical computations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/octave/"
10 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
11 TAGS="programming language"
13 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
14 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
15 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \
16 gcc fltk"
17 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
18 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
19 libdrm-dev expat-dev $DEPENDS"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
26 # http://www.nabble.com/Random-rounding-errors-td16010966.html
27 FFLAGS="-O -ffloat-store" \
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --mandir=/usr/share/man \
31 --enable-shared --disable-static --disable-docs \
32 $CONFIGURE_ARGS &&
33 LANG=C make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }