wok-current view octave/receipt @ rev 18450
perl-datetime and others: update to perl datetime which required a bunch of other deps to also be updated
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 19:52:03 2015 +0000 (2015-09-27) |
parents | dead8955c3ca |
children | 1fe6e9e8e078 |
line source
1 # SliTaz package receipt.
3 PACKAGE="octave"
4 VERSION="3.6.2"
5 CATEGORY="development"
6 SHORT_DESC="Language for numerical computations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnu.org/software/octave/"
11 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
12 TAGS="programming language"
14 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \
15 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
16 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \
17 gcc fltk"
18 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \
19 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \
20 libdrm-dev expat-dev libxml2-dev $DEPENDS"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export LDFLAGS="$LDFLAGS -ltinfo"
26 cd $src
28 # http://www.nabble.com/Random-rounding-errors-td16010966.html
29 FFLAGS="-O -ffloat-store" \
30 ./configure --prefix=/usr --infodir=/usr/share/info \
31 --libexecdir=/usr/lib/$PACKAGE \
32 --mandir=/usr/share/man \
33 --enable-shared --disable-static --disable-docs \
34 $CONFIGURE_ARGS &&
35 LANG=C make $MAKEFLAGS &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }