wok diff pari/receipt @ rev 25491
Up foomatic-db-nonfree (20221116)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 17 12:13:24 2022 +0000 (24 months ago) |
parents | 232ba43d30af |
children | 3f7980d355a5 |
line diff
1.1 --- a/pari/receipt Sat Jun 04 08:33:59 2022 +0000 1.2 +++ b/pari/receipt Thu Nov 17 12:13:24 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pari" 1.7 -VERSION="2.11.3" 1.8 +VERSION="2.13.4" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="Computer algebra system designed for fast computations in number theory." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -9,11 +9,11 @@ 1.13 WEB_SITE="https://pari.math.u-bordeaux.fr/" 1.14 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="${WEB_SITE}pub/$PACKAGE/OLD/${VERSION%.*}/$TARBALL" 1.17 +WGET_URL="${WEB_SITE}pub/$PACKAGE/unix/$TARBALL" 1.18 1.19 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \ 1.20 xorg-libXdmcp" 1.21 -BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev" 1.22 +BUILD_DEPENDS="bash gmp-dev readline-dev texinfo xorg-libX11-dev" 1.23 1.24 # What is the latest version available today? 1.25 current_version() 1.26 @@ -25,6 +25,7 @@ 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 + ln -s /bin/bash /bin/sh 1.31 mkdir build 1.32 # this configure does not respect $CONFIGURE_ARGS :( 1.33 ./Configure \ 1.34 @@ -32,11 +33,12 @@ 1.35 --graphic=X11 \ 1.36 --builddir=build \ 1.37 --prefix=/usr && 1.38 - cd build && 1.39 - make all && 1.40 - make DESTDIR=$install install 2>&1 | sed \ 1.41 - -e "s/dvi': No such/dvi': no such/" \ 1.42 - -e "s/tex: No such/tex: no such/" 1.43 + sed -i 's|TEX = tex|TEX = texi2pdf|' doc/Makefile 1.44 + cd build 1.45 + bash -c make all 1.46 + make DESTDIR=$install install 2>&1 | \ 1.47 + sed -e "s/dvi': No such/dvi': no such/" \ 1.48 + -e "s/ps': No such/ps': no such/" 1.49 1.50 rm -rf $src/build 1.51 }