wok annotate octave/receipt @ rev 19275
Check manpages... from start to beaver.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 05 15:34:01 2016 +0300 (2016-07-05) |
parents | 85bafb39be6f |
children | 275dddf17858 |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
llevrel@18685 | 4 VERSION="4.0.0" |
pascal@4906 | 5 CATEGORY="development" |
pascal@4906 | 6 SHORT_DESC="Language for numerical computations." |
pascal@4906 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
llevrel@18685 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@4906 | 10 WEB_SITE="http://www.gnu.org/software/octave/" |
pascal@12575 | 11 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pascal@13796 | 12 TAGS="programming language" |
pascal@13796 | 13 |
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 \ |
pascal@13318 | 16 xorg-libXfixes libdrm xorg-libXau xorg-libXdmcp pcre libcurl lapack bash \ |
llevrel@18854 | 17 gcc fltk gnuplot" |
pascal@13796 | 18 BUILD_DEPENDS="gfortran zlib-dev ncurses-dev readline-dev freetype-dev xorg-dev \ |
pascal@13796 | 19 fltk-dev perl texinfo lapack tar gawk pcre-dev mesa-dev curl-dev \ |
pascal@15261 | 20 libdrm-dev expat-dev libxml2-dev $DEPENDS" |
pascal@4906 | 21 |
pascal@4906 | 22 # Rules to configure and make the package. |
pascal@4906 | 23 compile_rules() |
pascal@4906 | 24 { |
pascal@17673 | 25 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@4906 | 26 cd $src |
slaxemulator@6643 | 27 |
slaxemulator@6643 | 28 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
slaxemulator@6643 | 29 FFLAGS="-O -ffloat-store" \ |
pascal@4906 | 30 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4906 | 31 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@4906 | 32 --mandir=/usr/share/man \ |
slaxemulator@13096 | 33 --enable-shared --disable-static --disable-docs \ |
pascal@4906 | 34 $CONFIGURE_ARGS && |
pascal@15265 | 35 LANG=C make $MAKEFLAGS && |
slaxemulator@13096 | 36 make DESTDIR=$DESTDIR install |
pascal@4906 | 37 } |
pascal@4906 | 38 |
pascal@4906 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 40 genpkg_rules() |
pascal@4906 | 41 { |
pascal@13796 | 42 cp -a $install/* $fs |
pascal@4906 | 43 } |
pascal@4906 | 44 |
psychomaniak@19154 | 45 |