wok-6.x annotate octave/receipt @ rev 13318
octave: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 31 08:57:15 2012 +0200 (2012-08-31) |
parents | 164526f3f3ff |
children | 6b09507225ec |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
slaxemulator@13096 | 4 VERSION="3.6.2" |
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@12575 | 10 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pascal@10520 | 11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ |
slaxemulator@13096 | 12 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \ |
slaxemulator@13096 | 13 libdrm-dev expat-dev $DEPENDS" |
slaxemulator@13096 | 14 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \ |
slaxemulator@6970 | 15 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ |
pascal@13318 | 16 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \ |
pascal@13318 | 17 gcc fltk" |
pascal@13318 | 18 TAGS="programming language" |
pascal@4906 | 19 |
pascal@4906 | 20 # Rules to configure and make the package. |
pascal@4906 | 21 compile_rules() |
pascal@4906 | 22 { |
pascal@4906 | 23 cd $src |
slaxemulator@6643 | 24 |
slaxemulator@6643 | 25 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
slaxemulator@6643 | 26 FFLAGS="-O -ffloat-store" \ |
pascal@4906 | 27 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4906 | 28 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@4906 | 29 --mandir=/usr/share/man \ |
slaxemulator@13096 | 30 --enable-shared --disable-static --disable-docs \ |
pascal@4906 | 31 $CONFIGURE_ARGS && |
slaxemulator@13096 | 32 LANG=C make $MAKEFLAGS && |
slaxemulator@13096 | 33 make DESTDIR=$DESTDIR install |
pascal@4906 | 34 } |
pascal@4906 | 35 |
pascal@4906 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 37 genpkg_rules() |
pascal@4906 | 38 { |
pascal@4906 | 39 cp -a $_pkg/* $fs |
pascal@4906 | 40 } |
pascal@4906 | 41 |