wok-next view octave/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
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="http://www.gnu.org/software/octave/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="bash curl-dev expat expat-dev fltk fltk-dev freetype
16 freetype-dev gawk gcc gcc-lib-base gfortran glu gnuplot lapack
17 libcurl libdrm libdrm-dev libgfortran libxml2-dev libx11 libxau
18 libxdamage libxdmcp libxext libxfixes libxxf86vm mesa mesa-dev
19 ncurses ncurses-dev pcre pcre-dev perl readline readline-dev
20 tar texinfo xorg-dev zlib zlib-dev"
22 compile_rules()
23 {
24 # http://www.nabble.com/Random-rounding-errors-td16010966.html
25 FFLAGS="-O -ffloat-store" \
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --libexecdir=/usr/lib/$PACKAGE \
31 --mandir=/usr/share/man \
32 --enable-shared \
33 --disable-static \
34 --disable-docs \
35 $CONFIGURE_ARGS &&
36 make LANG=C $MAKEFLAGS &&
37 make DESTDIR=$install install
38 }
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
44 DEPENDS="bash expat fltk freetype gcc gcc-lib-base glu gnuplot
45 lapack libcurl libdrm libgfortran libx11 libxau libxdamage
46 libxdmcp libxext libxfixes libxxf86vm mesa ncurses pcre
47 readline zlib"
48 }