wok-current view pari/receipt @ rev 15622
network-manager: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 13:38:47 2013 +0000 (2013-12-08) |
parents | 380ffe05937a |
children | 8cd03bcd99f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pari"
4 VERSION="2.5.3"
5 CATEGORY="utilities"
6 SHORT_DESC="PARI/GP is a widely used computer algebra system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://pari.math.u-bordeaux.fr/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
13 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
14 xorg-libXdmcp"
15 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build
21 # this configure not respect $CONFIGURE_ARGS :(
22 ./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr &&
23 cd build
24 make all &&
25 make DESTDIR=$install install 2>&1 | sed \
26 -e "s/dvi': No such/dvi': no such/" \
27 -e "s/ps': No such/ps': no such/"
28 rm -rf $src/build
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/pari $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/pari $fs/usr/lib
37 cp -a $install/usr/share/pari $fs/usr/share
38 }