wok view pari/receipt @ rev 14860

Up: gaupol (0.19)
author Claudinei Pereira <claudinei@slitaz.org>
date Mon Jul 22 18:18:34 2013 -0300 (2013-07-22)
parents
children 380ffe05937a
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 WEB_SITE="http://pari.math.u-bordeaux.fr/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
12 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
13 xorg-libXdmcp"
14 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build
20 # this configure not respect $CONFIGURE_ARGS :(
21 ./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr &&
22 cd build
23 make all &&
24 make DESTDIR=$install install
25 rm -rf $src/build
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/pari $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/pari $fs/usr/lib
34 cp -a $install/usr/share/pari $fs/usr/share
35 }