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

Up: netsurf to 2.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 04 06:41:59 2010 +0000 (2010-10-04)
parents 49e501a55595
children ceaf8fc264b8
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 sed -i 's/scripts doc check/scripts check/' Makefile
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j 4 &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $_pkg/* $fs
34 }