wok annotate octave/receipt @ rev 6415

octave: do not build doc (needs tetex)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 25 23:58:17 2010 +0200 (2010-09-25)
parents 49e501a55595
children ceaf8fc264b8
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@5710 11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev fltk"
pascal@4907 12 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base \
pascal@4907 13 libgl libglu xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \
jozee@5018 14 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl"
jozee@4970 15 TAGS="programming language"
pascal@4906 16
pascal@4906 17 # Rules to configure and make the package.
pascal@4906 18 compile_rules()
pascal@4906 19 {
pascal@4906 20 cd $src
pascal@6415 21 sed -i 's/scripts doc check/scripts check/' Makefile
pascal@4906 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4906 23 --libexecdir=/usr/lib/$PACKAGE \
pascal@4906 24 --mandir=/usr/share/man \
pascal@4906 25 $CONFIGURE_ARGS &&
pascal@5781 26 make -j 4 &&
pascal@4906 27 make DESTDIR=$PWD/_pkg install
pascal@4906 28 }
pascal@4906 29
pascal@4906 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4906 31 genpkg_rules()
pascal@4906 32 {
pascal@4906 33 cp -a $_pkg/* $fs
pascal@4906 34 }
pascal@4906 35