wok-6.x annotate octave/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | 275dddf17858 |
children | 17091bc7c301 |
rev | line source |
---|---|
pascal@4906 | 1 # SliTaz package receipt. |
pascal@4906 | 2 |
pascal@4906 | 3 PACKAGE="octave" |
Hans-G?nter@23257 | 4 VERSION="5.2.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@23257 | 15 DEPENDS="bash expat fltk freetype gcc83 gcc83-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 { |
pascal@17673 | 26 export LDFLAGS="$LDFLAGS -ltinfo" |
slaxemulator@6643 | 27 |
slaxemulator@6643 | 28 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
Hans-G?nter@23257 | 29 export FFLAGS="-O -ffloat-store" |
Hans-G?nter@23257 | 30 |
Hans-G?nter@21599 | 31 ./configure \ |
Hans-G?nter@23257 | 32 CC=gcc-83 \ |
Hans-G?nter@23257 | 33 CXX=g++-83 \ |
Hans-G?nter@21599 | 34 --prefix=/usr \ |
Hans-G?nter@21599 | 35 --infodir=/usr/share/info \ |
Hans-G?nter@21599 | 36 --libexecdir=/usr/lib/$PACKAGE \ |
Hans-G?nter@21599 | 37 --mandir=/usr/share/man \ |
Hans-G?nter@21599 | 38 --enable-shared \ |
Hans-G?nter@21599 | 39 --disable-static \ |
Hans-G?nter@21599 | 40 --disable-docs \ |
Hans-G?nter@21599 | 41 $CONFIGURE_ARGS && |
pascal@15265 | 42 LANG=C make $MAKEFLAGS && |
slaxemulator@13096 | 43 make DESTDIR=$DESTDIR install |
pascal@4906 | 44 } |
pascal@4906 | 45 |
pascal@4906 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 47 genpkg_rules() |
pascal@4906 | 48 { |
Hans-G?nter@23257 | 49 cp -a $install/* $fs |
pascal@4906 | 50 } |