wok rev 4906

Add octave
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 12 20:56:32 2010 +0100 (2010-02-12)
parents 993a22abdb7b
children 4da83a74a444
files octave/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/octave/receipt	Fri Feb 12 20:56:32 2010 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="octave"
     1.7 +VERSION="3.2.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Language for numerical computations."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.gnu.org/software/octave/"
    1.13 +WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL"
    1.14 +BUILD_DEPENDS="gfortran"
    1.15 +DEPENDS="libgfortran"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--libexecdir=/usr/lib/$PACKAGE \
    1.23 +	--mandir=/usr/share/man \
    1.24 +	$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $_pkg/* $fs
    1.33 +}
    1.34 +