wok-6.x view octave/receipt @ rev 25168

updated python-click (7.1.1 -> 7.1.2)
author Hans-G?nter Theisgen
date Fri Jul 01 15:13:29 2022 +0100 (2022-07-01)
parents 9e2faa1f4ad1
children
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*} 2>/dev/null | \
27 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 export LDFLAGS="$LDFLAGS -ltinfo"
35 # http://www.nabble.com/Random-rounding-errors-td16010966.html
36 export FFLAGS="-O -ffloat-store"
38 ./configure \
39 CC=gcc-83 \
40 CXX=g++-83 \
41 --prefix=/usr \
42 --infodir=/usr/share/info \
43 --libexecdir=/usr/lib/$PACKAGE \
44 --mandir=/usr/share/man \
45 --enable-shared \
46 --disable-static \
47 --disable-docs \
48 $CONFIGURE_ARGS &&
49 LANG=C make $MAKEFLAGS &&
50 make DESTDIR=$DESTDIR install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 cp -a $install/* $fs
57 }