wok-next view octave/receipt @ rev 14730

Up xorg-xf86-video-ati (7.1.0), xorg-xf86-video-fbdev (0.4.3), xorg-xf86-video-geode (2.11.14), xorg-xf86-video-i740 (1.3.4), xorg-xf86-video-neomagic (1.2.7), xorg-xf86-video-nv (2.1.20), xorg-xf86-video-s3 (0.6.5), xorg-xf86-video-trident (1.3.6), xorg-xf86-video-vesa (2.3.2), xorg-xf86-video-vmware (13.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 13 10:45:31 2013 +0200 (2013-06-13)
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 }