# SliTaz package receipt. PACKAGE="octave" VERSION="3.2.4" CATEGORY="development" SHORT_DESC="Language for numerical computations." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnu.org/software/octave/" WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL" BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ fltk perl texinfo" DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \ mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl gcc fltk" TAGS="programming language" # Rules to configure and make the package. compile_rules() { cd $src patch -Np1 -i $stuff/octave-3.2.0_as_needed.patch patch -Np1 -i $stuff/octave-3.2.0_parallel_make.patch sed -i 's/scripts doc check/scripts check/' Makefile # http://www.nabble.com/Random-rounding-errors-td16010966.html FFLAGS="-O -ffloat-store" \ ./configure --prefix=/usr --infodir=/usr/share/info \ --libexecdir=/usr/lib/$PACKAGE \ --mandir=/usr/share/man \ --enable-shared --disable-static \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $_pkg/* $fs }