wok view octave/receipt @ rev 13071

Up: activesupport to 3.2.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 25 08:32:14 2012 +0000 (2012-06-25)
parents 8e4c74abdf74
children 555aa16b6743
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.gnu.org/gnu/$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 }