wok-6.x annotate octave/receipt @ rev 22506
updated asterisk-sound-fr (1.4.16 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 01 13:38:34 2020 +0100 (2020-01-01) |
parents | 03b2309fd335 |
children | 9e2faa1f4ad1 |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
Hans-G?nter@21599 | 4 VERSION="5.1.0" |
pascal@4906 | 5 CATEGORY="development" |
Hans-G?nter@21599 | 6 TAGS="programming language" |
pascal@4906 | 7 SHORT_DESC="Language for numerical computations." |
pascal@4906 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
Hans-G?nter@21599 | 10 WEB_SITE="https://www.gnu.org/software/octave/" |
Hans-G?nter@21599 | 11 |
llevrel@18685 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21599 | 13 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
pascal@13796 | 14 |
Hans-G?nter@21599 | 15 DEPENDS="bash expat fltk freetype gcc83 gcc-lib-base gnuplot lapack libcurl libdrm \ |
Hans-G?nter@21599 | 16 libgfortran libglu-mesa mesa ncurses pcre readline xorg-libX11 \ |
Hans-G?nter@21599 | 17 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXxf86vm \ |
Hans-G?nter@21599 | 18 xorg-libXfixes zlib" |
Hans-G?nter@21599 | 19 BUILD_DEPENDS="$DEPENDS curl-dev expat-dev fltk-dev freetype-dev gawk gfortran \ |
Hans-G?nter@21599 | 20 lapack libdrm-dev libxml2-dev mesa-dev ncurses-dev pcre-dev perl \ |
Hans-G?nter@21599 | 21 readline-dev tar texinfo xorg-dev zlib-dev" |
pascal@4906 | 22 |
pascal@4906 | 23 # Rules to configure and make the package. |
pascal@4906 | 24 compile_rules() |
pascal@4906 | 25 { |
Hans-G?nter@21599 | 26 export CC=gcc-83 |
Hans-G?nter@21599 | 27 export CXX=g++-83 |
pascal@17673 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
slaxemulator@6643 | 29 |
slaxemulator@6643 | 30 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
Hans-G?nter@21599 | 31 FFLAGS="-O -ffloat-store" \ |
Hans-G?nter@21599 | 32 ./configure \ |
Hans-G?nter@21599 | 33 --prefix=/usr \ |
Hans-G?nter@21599 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@21599 | 35 --libexecdir=/usr/lib/$PACKAGE \ |
Hans-G?nter@21599 | 36 --mandir=/usr/share/man \ |
Hans-G?nter@21599 | 37 --enable-shared \ |
Hans-G?nter@21599 | 38 --disable-static \ |
Hans-G?nter@21599 | 39 --disable-docs \ |
Hans-G?nter@21599 | 40 $CONFIGURE_ARGS && |
pascal@15265 | 41 LANG=C make $MAKEFLAGS && |
slaxemulator@13096 | 42 make DESTDIR=$DESTDIR install |
pascal@4906 | 43 } |
pascal@4906 | 44 |
pascal@4906 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 46 genpkg_rules() |
pascal@4906 | 47 { |
pascal@13796 | 48 cp -a $install/* $fs |
pascal@4906 | 49 } |