wok diff pari/receipt @ rev 14571

Up xorg-libX11 (1.5.99.902), xorg-libXcursor (1.1.14)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 24 12:13:58 2013 +0200 (2013-05-24)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pari/receipt	Fri May 24 12:13:58 2013 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pari"
     1.7 +VERSION="2.5.3"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="PARI/GP is a widely used computer algebra system"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://pari.math.u-bordeaux.fr/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
    1.14 +
    1.15 +DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
    1.16 +xorg-libXdmcp"
    1.17 +BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mkdir build
    1.23 +	# this configure not respect $CONFIGURE_ARGS :(
    1.24 +	./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr &&
    1.25 +	cd build
    1.26 +	make all &&
    1.27 +	make DESTDIR=$install install
    1.28 +	rm -rf $src/build
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/lib/pari $fs/usr/share
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib/pari $fs/usr/lib
    1.37 +	cp -a $install/usr/share/pari $fs/usr/share
    1.38 +}