wok-current view octave/receipt @ rev 4906

Add octave
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 12 20:56:32 2010 +0100 (2010-02-12)
parents
children 4da83a74a444
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"
12 DEPENDS="libgfortran"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --libexecdir=/usr/lib/$PACKAGE \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/* $fs
30 }