wok-next view octave/receipt @ rev 5018

update DEPENDS: nvidia is hardware-specific and should be removed or optional
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 01 08:54:30 2010 +0000 (2010-03-01)
parents 5b44af8c1257
children 932522d70bdb
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"
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 &&
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 }