wok-6.x annotate octave/receipt @ rev 24813
updated libnetfilter_queue and libnetfilter_queue-dev (1.0.3 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 17:30:17 2022 +0100 (2022-03-22) |
parents | 9e2faa1f4ad1 |
children |
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@24415 | 23 # What is the latest version available today? |
pascal@24415 | 24 current_version() |
pascal@24415 | 25 { |
pascal@24415 | 26 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 27 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 28 } |
pascal@24415 | 29 |
pascal@4906 | 30 # Rules to configure and make the package. |
pascal@4906 | 31 compile_rules() |
pascal@4906 | 32 { |
pascal@17673 | 33 export LDFLAGS="$LDFLAGS -ltinfo" |
slaxemulator@6643 | 34 |
slaxemulator@6643 | 35 # http://www.nabble.com/Random-rounding-errors-td16010966.html |
Hans-G?nter@23257 | 36 export FFLAGS="-O -ffloat-store" |
Hans-G?nter@23257 | 37 |
Hans-G?nter@21599 | 38 ./configure \ |
Hans-G?nter@23257 | 39 CC=gcc-83 \ |
Hans-G?nter@23257 | 40 CXX=g++-83 \ |
Hans-G?nter@21599 | 41 --prefix=/usr \ |
Hans-G?nter@21599 | 42 --infodir=/usr/share/info \ |
Hans-G?nter@21599 | 43 --libexecdir=/usr/lib/$PACKAGE \ |
Hans-G?nter@21599 | 44 --mandir=/usr/share/man \ |
Hans-G?nter@21599 | 45 --enable-shared \ |
Hans-G?nter@21599 | 46 --disable-static \ |
Hans-G?nter@21599 | 47 --disable-docs \ |
Hans-G?nter@21599 | 48 $CONFIGURE_ARGS && |
pascal@15265 | 49 LANG=C make $MAKEFLAGS && |
slaxemulator@13096 | 50 make DESTDIR=$DESTDIR install |
pascal@4906 | 51 } |
pascal@4906 | 52 |
pascal@4906 | 53 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4906 | 54 genpkg_rules() |
pascal@4906 | 55 { |
Hans-G?nter@23257 | 56 cp -a $install/* $fs |
pascal@4906 | 57 } |