wok-next view octave/receipt @ rev 13796
mesa-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 14:44:51 2013 +0100 (2013-01-05) |
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 }