wok-next view octave/receipt @ rev 10431

openldap-dev+libldap: also update to 2.24.5
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 00:06:24 2011 +0200 (2011-05-25)
parents 07e6c84aad04
children 55aef909d00d
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 fltk perl"
12 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \
13 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
14 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl"
15 TAGS="programming language"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/octave-3.2.0_as_needed.patch
22 patch -Np1 -i $stuff/octave-3.2.0_parallel_make.patch
24 sed -i 's/scripts doc check/scripts check/' Makefile
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 \
32 $CONFIGURE_ARGS &&
33 make -j 4 &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $_pkg/* $fs
41 }