wok view pari/receipt @ rev 23440
linux-zram: autostart
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 12:22:43 2020 +0200 (2020-04-02) |
parents | 8cd03bcd99f2 |
children | 5ba5534362b6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pari"
4 VERSION="2.11.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Computer algebra system designed for fast computations in number theory."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://pari.math.u-bordeaux.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
14 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
15 xorg-libXdmcp"
16 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 # this configure does not respect $CONFIGURE_ARGS :(
23 ./Configure \
24 --host=$ARCH \
25 --graphic=X11 \
26 --builddir=build \
27 --prefix=/usr &&
28 cd build &&
29 make all &&
30 make DESTDIR=$install install 2>&1 | sed \
31 -e "s/dvi': No such/dvi': no such/" \
32 -e "s/ps': No such/ps': no such/"
34 rm -rf $src/build
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/pari
41 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/pari $fs/usr/lib
45 cp -a $install/usr/share/pari $fs/usr/share
46 }