wok-current annotate 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 |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
pascal@4906 | 4 VERSION="3.2.4" |
pascal@4906 | 5 CATEGORY="development" |
pascal@4906 | 6 SHORT_DESC="Language for numerical computations." |
pascal@4906 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4906 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4906 | 9 WEB_SITE="http://www.gnu.org/software/octave/" |
pascal@4906 | 10 WGET_URL="ftp://ftp.octave.org/pub/$PACKAGE/$TARBALL" |
pascal@4906 | 11 BUILD_DEPENDS="gfortran" |
pascal@4906 | 12 DEPENDS="libgfortran" |
pascal@4906 | 13 |
pascal@4906 | 14 # Rules to configure and make the package. |
pascal@4906 | 15 compile_rules() |
pascal@4906 | 16 { |
pascal@4906 | 17 cd $src |
pascal@4906 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4906 | 19 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@4906 | 20 --mandir=/usr/share/man \ |
pascal@4906 | 21 $CONFIGURE_ARGS && |
pascal@4906 | 22 make && |
pascal@4906 | 23 make DESTDIR=$PWD/_pkg install |
pascal@4906 | 24 } |
pascal@4906 | 25 |
pascal@4906 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 27 genpkg_rules() |
pascal@4906 | 28 { |
pascal@4906 | 29 cp -a $_pkg/* $fs |
pascal@4906 | 30 } |
pascal@4906 | 31 |