wok-current view pari/receipt @ rev 15265

Up cookutils (3.1.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 09:50:51 2013 +0000 (2013-09-25)
parents 4e805e1b2e7b
children a38fd3f53d2d
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
26 rm -rf $src/build
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/pari $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/pari $fs/usr/lib
35 cp -a $install/usr/share/pari $fs/usr/share
36 }