wok view octave/receipt @ rev 8448
Up: nss to 3.12.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 06 15:17:04 2011 +0000 (2011-02-06) |
parents | ceaf8fc264b8 |
children | d1768332cee0 |
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 }