wok rev 25092

updated pari and pari-dev (2.11.3 -> 2.13.4)
author Hans-G?nter Theisgen
date Sat Jun 18 10:01:45 2022 +0100 (22 months ago)
parents 12b393d89218
children 8298f21ebb0a
files pari-dev/receipt pari/description.txt pari/receipt
line diff
     1.1 --- a/pari-dev/receipt	Sat Jun 18 09:52:25 2022 +0100
     1.2 +++ b/pari-dev/receipt	Sat Jun 18 10:01:45 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pari-dev"
     1.7 -VERSION="2.11.3"
     1.8 +VERSION="2.13.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Development files for pari."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -13,8 +13,6 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib
    1.17 -
    1.18 -	cp -a $install/usr/include	$fs/usr
    1.19 -	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.20 +	cook_copy_folders	include
    1.21 +	cook_copy_files		*.*a
    1.22  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pari/description.txt	Sat Jun 18 10:01:45 2022 +0100
     2.3 @@ -0,0 +1,3 @@
     2.4 +PARI/GP is a specialized computer algebra system, primarily aimed at
     2.5 +number theorists, but has been put to good use in many other different
     2.6 +fields, from topology or numerical analysis to physics.
     3.1 --- a/pari/receipt	Sat Jun 18 09:52:25 2022 +0100
     3.2 +++ b/pari/receipt	Sat Jun 18 10:01:45 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="pari"
     3.7 -VERSION="2.11.3"
     3.8 +VERSION="2.13.4"
     3.9  CATEGORY="utilities"
    3.10  SHORT_DESC="Computer algebra system designed for fast computations in number theory."
    3.11  MAINTAINER="al.bobylev@gmail.com"
    3.12 @@ -9,11 +9,11 @@
    3.13  WEB_SITE="https://pari.math.u-bordeaux.fr/"
    3.14  
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WGET_URL="${WEB_SITE}pub/$PACKAGE/OLD/${VERSION%.*}/$TARBALL"
    3.17 +WGET_URL="${WEB_SITE}pub/$PACKAGE/unix/$TARBALL"
    3.18  
    3.19  DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
    3.20  	xorg-libXdmcp"
    3.21 -BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
    3.22 +BUILD_DEPENDS="bash gmp-dev readline-dev texinfo xorg-libX11-dev"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -25,6 +25,7 @@
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 +	ln -s /bin/bash /bin/sh
    3.31  	mkdir build
    3.32  	# this configure does not respect $CONFIGURE_ARGS :(
    3.33  	./Configure			\
    3.34 @@ -32,11 +33,12 @@
    3.35  		--graphic=X11		\
    3.36  		--builddir=build	\
    3.37  		--prefix=/usr &&
    3.38 -	cd build &&
    3.39 -	make all &&
    3.40 -	make DESTDIR=$install install 2>&1 | sed \
    3.41 -		-e "s/dvi': No such/dvi': no such/" \
    3.42 -		-e "s/tex: No such/tex: no such/"
    3.43 +	sed -i 's|TEX   = tex|TEX   = texi2pdf|' doc/Makefile
    3.44 +	cd build
    3.45 +	bash -c make all
    3.46 +	make DESTDIR=$install install 2>&1 | 		\
    3.47 +	sed 	-e "s/dvi': No such/dvi': no such/"	\
    3.48 +		-e "s/ps': No such/ps': no such/"
    3.49  
    3.50  	rm -rf $src/build
    3.51  }