wok-6.x view octave/receipt @ rev 13525
Up: bonobo, fixed: gtk+ headers
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Oct 20 06:16:34 2012 +0000 (2012-10-20) |
parents | 164526f3f3ff |
children | 6b09507225ec |
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 gcc fltk"
18 TAGS="programming language"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
25 # http://www.nabble.com/Random-rounding-errors-td16010966.html
26 FFLAGS="-O -ffloat-store" \
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --libexecdir=/usr/lib/$PACKAGE \
29 --mandir=/usr/share/man \
30 --enable-shared --disable-static --disable-docs \
31 $CONFIGURE_ARGS &&
32 LANG=C make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $_pkg/* $fs
40 }