wok view pari/receipt @ rev 22850
bluez: add v4 deprecated tools (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 16 19:19:37 2020 +0100 (2020-02-16) |
parents | a38fd3f53d2d |
children | 79c1549784d0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pari"
4 VERSION="2.11.2"
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/"
33 rm -rf $src/build
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/pari
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/pari $fs/usr/lib
44 cp -a $install/usr/share/pari $fs/usr/share
45 }