wok-current annotate octave/receipt @ rev 8262
Removed -j 4 in zsnes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 29 16:37:30 2011 +0000 (2011-01-29) |
parents | ceaf8fc264b8 |
children | d1768332cee0 |
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" |
slaxemulator@6643 | 11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev fltk perl" |
pascal@4907 | 12 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \ |
slaxemulator@6970 | 13 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ |
jozee@5018 | 14 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl" |
jozee@4970 | 15 TAGS="programming language" |
pascal@4906 | 16 |
pascal@4906 | 17 # Rules to configure and make the package. |
pascal@4906 | 18 compile_rules() |
pascal@4906 | 19 { |
pascal@4906 | 20 cd $src |
slaxemulator@6643 | 21 patch -Np1 -i ../stuff/octave-3.2.0_as_needed.patch |
slaxemulator@6643 | 22 patch -Np1 -i ../stuff/octave-3.2.0_parallel_make.patch |
slaxemulator@6643 | 23 |
pascal@6415 | 24 sed -i 's/scripts doc check/scripts check/' Makefile |
slaxemulator@6643 | 25 |
slaxemulator@6643 | 26 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
slaxemulator@6643 | 27 FFLAGS="-O -ffloat-store" \ |
pascal@4906 | 28 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4906 | 29 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@4906 | 30 --mandir=/usr/share/man \ |
slaxemulator@6643 | 31 --enable-shared --disable-static \ |
pascal@4906 | 32 $CONFIGURE_ARGS && |
pascal@5781 | 33 make -j 4 && |
pascal@4906 | 34 make DESTDIR=$PWD/_pkg install |
pascal@4906 | 35 } |
pascal@4906 | 36 |
pascal@4906 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 38 genpkg_rules() |
pascal@4906 | 39 { |
pascal@4906 | 40 cp -a $_pkg/* $fs |
pascal@4906 | 41 } |
pascal@4906 | 42 |