wok-6.x view octave/receipt @ rev 10626
qemu: comment copy file from etc (only in 0.14.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:47:59 2011 +0200 (2011-05-26) |
parents | d1768332cee0 |
children | 8e4c74abdf74 |
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 \
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 -j 4 &&
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 }