wok diff pari/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents a38fd3f53d2d
children 79c1549784d0
line diff
     1.1 --- a/pari/receipt	Fri Sep 27 16:38:06 2013 +0000
     1.2 +++ b/pari/receipt	Wed Jun 26 19:12:58 2019 +0200
     1.3 @@ -1,25 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pari"
     1.7 -VERSION="2.5.3"
     1.8 +VERSION="2.11.2"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="PARI/GP is a widely used computer algebra system"
    1.11 +SHORT_DESC="Computer algebra system designed for fast computations in number theory."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://pari.math.u-bordeaux.fr/"
    1.15 +WEB_SITE="https://pari.math.u-bordeaux.fr/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
    1.19  
    1.20  DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
    1.21 -xorg-libXdmcp"
    1.22 +	xorg-libXdmcp"
    1.23  BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	mkdir build
    1.29 -	# this configure not respect $CONFIGURE_ARGS :(
    1.30 -	./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr &&
    1.31 +	# this configure does not respect $CONFIGURE_ARGS :(
    1.32 +	./Configure			\
    1.33 +		--host=$ARCH		\
    1.34 +		--graphic=X11		\
    1.35 +		--builddir=build	\
    1.36 +		--prefix=/usr &&
    1.37  	cd build
    1.38  	make all &&
    1.39  	make DESTDIR=$install install 2>&1 | sed \
    1.40 @@ -31,8 +36,10 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/lib/pari $fs/usr/share
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/lib/pari $fs/usr/lib
    1.47 -	cp -a $install/usr/share/pari $fs/usr/share
    1.48 +	mkdir -p $fs/usr/lib/pari
    1.49 +	mkdir -p $fs/usr/share
    1.50 +
    1.51 +	cp -a $install/usr/bin		$fs/usr
    1.52 +	cp -a $install/usr/lib/pari	$fs/usr/lib
    1.53 +	cp -a $install/usr/share/pari	$fs/usr/share
    1.54  }