wok-stable view octave/receipt @ rev 12221

Up: tazpanel (1.5.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 13:59:05 2012 +0200 (2012-04-05)
parents 55aef909d00d
children 0d59338cd981
line source
1 # SliTaz package receipt.
3 PACKAGE="octave"
4 VERSION="3.2.4"
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.octave.org/pub/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
12 fltk perl texinfo"
13 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \
14 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
15 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl"
16 TAGS="programming language"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 -i $stuff/octave-3.2.0_as_needed.patch
23 patch -Np1 -i $stuff/octave-3.2.0_parallel_make.patch
25 sed -i 's/scripts doc check/scripts check/' Makefile
27 # http://www.nabble.com/Random-rounding-errors-td16010966.html
28 FFLAGS="-O -ffloat-store" \
29 ./configure --prefix=/usr --infodir=/usr/share/info \
30 --libexecdir=/usr/lib/$PACKAGE \
31 --mandir=/usr/share/man \
32 --enable-shared --disable-static \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make DESTDIR=$PWD/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $_pkg/* $fs
42 }