wok-stable annotate octave/receipt @ rev 12465

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 18:42:23 2019 +0100 (2019-03-04)
parents 8e4c74abdf74
children
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 \
pascal@12324 15 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl gcc fltk"
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