wok-next annotate octave/receipt @ rev 14454

Up; nconf (1.3.0-0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 02:48:04 2013 +0200 (2013-04-27)
parents 190d76fd43ca
children 2b9f96603415
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@13796 11 TAGS="programming language"
pascal@13796 12
slaxemulator@13096 13 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
slaxemulator@6970 14 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
pascal@13318 15 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \
pascal@13318 16 gcc fltk"
pascal@13796 17 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
pascal@13796 18 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
pascal@13796 19 libdrm-dev expat-dev $DEPENDS"
pascal@4906 20
pascal@4906 21 # Rules to configure and make the package.
pascal@4906 22 compile_rules()
pascal@4906 23 {
pascal@4906 24 cd $src
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@13096 31 --enable-shared --disable-static --disable-docs \
pascal@4906 32 $CONFIGURE_ARGS &&
slaxemulator@13096 33 LANG=C make $MAKEFLAGS &&
slaxemulator@13096 34 make DESTDIR=$DESTDIR 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@13796 40 cp -a $install/* $fs
pascal@4906 41 }
pascal@4906 42