wok-next view octave/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children d7cbbb220e8b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="octave"
4 VERSION="4.0.0"
5 CATEGORY="development"
6 SHORT_DESC="Language for numerical computations"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/octave/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
15 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
16 libdrm-dev expat-dev libxml2-dev libgfortran zlib ncurses readline freetype \
17 gcc-lib-base expat mesa glu libx11 libxext libxxf86vm \
18 libxdamage libxfixes libdrm libxau libxdmcp pcre libcurl \
19 lapack bash gcc fltk gnuplot"
21 compile_rules() {
22 # http://www.nabble.com/Random-rounding-errors-td16010966.html
23 FFLAGS="-O -ffloat-store" \
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --libexecdir=/usr/lib/$PACKAGE \
28 --mandir=/usr/share/man \
29 --enable-shared \
30 --disable-static \
31 --disable-docs \
32 $CONFIGURE_ARGS &&
33 LANG=C make $MAKEFLAGS &&
34 make DESTDIR=$install install
35 }
37 genpkg_rules() {
38 cp -a $install/* $fs
39 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
40 mesa glu libx11 libxext libxxf86vm libxdamage \
41 libxfixes libdrm libxau libxdmcp pcre libcurl lapack bash \
42 gcc fltk gnuplot"
43 TAGS="programming language"
44 }