wok-next annotate octave/receipt @ rev 12275
Add qtfm (light QT File Manager) and so testing a bit the new toolchain
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 02:11:18 2012 +0200 (2012-04-15) |
parents | 55aef909d00d |
children | a3403e43a807 |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
pascal@4906 | 4 VERSION="3.2.4" |
pascal@4906 | 5 CATEGORY="development" |
pascal@4906 | 6 SHORT_DESC="Language for numerical computations." |
pascal@4906 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4906 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4906 | 9 WEB_SITE="http://www.gnu.org/software/octave/" |
pascal@4906 | 10 WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL" |
pascal@10520 | 11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ |
pascal@10520 | 12 fltk perl texinfo" |
pascal@4907 | 13 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \ |
slaxemulator@6970 | 14 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ |
jozee@5018 | 15 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl" |
jozee@4970 | 16 TAGS="programming language" |
pascal@4906 | 17 |
pascal@4906 | 18 # Rules to configure and make the package. |
pascal@4906 | 19 compile_rules() |
pascal@4906 | 20 { |
pascal@4906 | 21 cd $src |
slaxemulator@9700 | 22 patch -Np1 -i $stuff/octave-3.2.0_as_needed.patch |
slaxemulator@9700 | 23 patch -Np1 -i $stuff/octave-3.2.0_parallel_make.patch |
slaxemulator@6643 | 24 |
pascal@6415 | 25 sed -i 's/scripts doc check/scripts check/' Makefile |
slaxemulator@6643 | 26 |
slaxemulator@6643 | 27 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
slaxemulator@6643 | 28 FFLAGS="-O -ffloat-store" \ |
pascal@4906 | 29 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4906 | 30 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@4906 | 31 --mandir=/usr/share/man \ |
slaxemulator@6643 | 32 --enable-shared --disable-static \ |
pascal@4906 | 33 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 34 make $MAKEFLAGS && |
pascal@4906 | 35 make DESTDIR=$PWD/_pkg install |
pascal@4906 | 36 } |
pascal@4906 | 37 |
pascal@4906 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 39 genpkg_rules() |
pascal@4906 | 40 { |
pascal@4906 | 41 cp -a $_pkg/* $fs |
pascal@4906 | 42 } |
pascal@4906 | 43 |