wok view octave/receipt @ rev 13157

Up: bison (2.6)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jul 22 23:22:24 2012 +0200 (2012-07-22)
parents a3403e43a807
children 164526f3f3ff
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 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
12 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
13 libdrm-dev expat-dev $DEPENDS"
14 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
15 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
16 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash"
17 TAGS="programming language"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 # http://www.nabble.com/Random-rounding-errors-td16010966.html
25 FFLAGS="-O -ffloat-store" \
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --libexecdir=/usr/lib/$PACKAGE \
28 --mandir=/usr/share/man \
29 --enable-shared --disable-static --disable-docs \
30 $CONFIGURE_ARGS &&
31 LANG=C make $MAKEFLAGS &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $_pkg/* $fs
39 }