wok view octave/receipt @ rev 24232
updated perl-linux-inotify2 (2.2 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:53:37 2022 +0100 (2022-01-02) |
parents | 275dddf17858 |
children | 17091bc7c301 |
line source
1 # SliTaz package receipt.
3 PACKAGE="octave"
4 VERSION="5.2.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 gcc83-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 LDFLAGS="$LDFLAGS -ltinfo"
28 # http://www.nabble.com/Random-rounding-errors-td16010966.html
29 export FFLAGS="-O -ffloat-store"
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --libexecdir=/usr/lib/$PACKAGE \
37 --mandir=/usr/share/man \
38 --enable-shared \
39 --disable-static \
40 --disable-docs \
41 $CONFIGURE_ARGS &&
42 LANG=C make $MAKEFLAGS &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cp -a $install/* $fs
50 }