# HG changeset patch # User Pascal Bellard # Date 1266004592 -3600 # Node ID 19dfb1a520d68951e466a5cd8cb03a8283ad9d5b # Parent 993a22abdb7bf5d0d9f25a09232141fdcc9eb7fd Add octave diff -r 993a22abdb7b -r 19dfb1a520d6 octave/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/octave/receipt Fri Feb 12 20:56:32 2010 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="octave" +VERSION="3.2.4" +CATEGORY="development" +SHORT_DESC="Language for numerical computations." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnu.org/software/octave/" +WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL" +BUILD_DEPENDS="gfortran" +DEPENDS="libgfortran" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --libexecdir=/usr/lib/$PACKAGE \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/* $fs +} +