wok-6.x view octave/receipt @ rev 22010
updated task again (2.3.0 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 19 15:19:01 2019 +0100 (2019-10-19) |
parents | 03b2309fd335 |
children | 9e2faa1f4ad1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="octave"
4 VERSION="5.1.0"
5 CATEGORY="development"
6 TAGS="programming language"
7 SHORT_DESC="Language for numerical computations."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/octave/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
15 DEPENDS="bash expat fltk freetype gcc83 gcc-lib-base gnuplot lapack libcurl libdrm \
16 libgfortran libglu-mesa mesa ncurses pcre readline xorg-libX11 \
17 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXxf86vm \
18 xorg-libXfixes zlib"
19 BUILD_DEPENDS="$DEPENDS curl-dev expat-dev fltk-dev freetype-dev gawk gfortran \
20 lapack libdrm-dev libxml2-dev mesa-dev ncurses-dev pcre-dev perl \
21 readline-dev tar texinfo xorg-dev zlib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
28 export LDFLAGS="$LDFLAGS -ltinfo"
30 # http://www.nabble.com/Random-rounding-errors-td16010966.html
31 FFLAGS="-O -ffloat-store" \
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --libexecdir=/usr/lib/$PACKAGE \
36 --mandir=/usr/share/man \
37 --enable-shared \
38 --disable-static \
39 --disable-docs \
40 $CONFIGURE_ARGS &&
41 LANG=C make $MAKEFLAGS &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cp -a $install/* $fs
49 }