wok-next view pari/receipt @ rev 14386
eina: change tags
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 06:58:32 2013 +0200 (2013-04-23) |
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 }