wok annotate octave/receipt @ rev 13249
usb-modeswitch: add datas
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 14:24:15 2012 +0200 (2012-08-14) |
parents | a3403e43a807 |
children | 164526f3f3ff |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
slaxemulator@13096 | 4 VERSION="3.6.2" |
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@12575 | 10 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pascal@10520 | 11 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ |
slaxemulator@13096 | 12 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \ |
slaxemulator@13096 | 13 libdrm-dev expat-dev $DEPENDS" |
slaxemulator@13096 | 14 DEPENDS="libgfortran zlib ncurses readline freetype gcc-lib-base expat \ |
slaxemulator@6970 | 15 mesa libglu-mesa xorg-libX11 xorg-libXext xorg-libXxf86vm xorg-libXdamage \ |
slaxemulator@13096 | 16 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash" |
jozee@4970 | 17 TAGS="programming language" |
pascal@4906 | 18 |
pascal@4906 | 19 # Rules to configure and make the package. |
pascal@4906 | 20 compile_rules() |
pascal@4906 | 21 { |
pascal@4906 | 22 cd $src |
slaxemulator@6643 | 23 |
slaxemulator@6643 | 24 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
slaxemulator@6643 | 25 FFLAGS="-O -ffloat-store" \ |
pascal@4906 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4906 | 27 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@4906 | 28 --mandir=/usr/share/man \ |
slaxemulator@13096 | 29 --enable-shared --disable-static --disable-docs \ |
pascal@4906 | 30 $CONFIGURE_ARGS && |
slaxemulator@13096 | 31 LANG=C make $MAKEFLAGS && |
slaxemulator@13096 | 32 make DESTDIR=$DESTDIR install |
pascal@4906 | 33 } |
pascal@4906 | 34 |
pascal@4906 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 36 genpkg_rules() |
pascal@4906 | 37 { |
pascal@4906 | 38 cp -a $_pkg/* $fs |
pascal@4906 | 39 } |
pascal@4906 | 40 |