wok view octave/receipt @ rev 5797

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 13:09:27 2010 +0200 (2010-07-11)
parents 932522d70bdb
children e631421c043c
line source
1 # SliTaz package receipt.
3 PACKAGE="octave"
4 VERSION="3.2.4"
5 CATEGORY="development"
6 SHORT_DESC="Language for numerical computations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/octave/"
10 WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev fltk"
12 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \
13 libgl libglu xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
14 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl"
15 TAGS="programming language"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make -j 4 &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $_pkg/* $fs
33 }