wok view pari/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 79c1549784d0
children 241fb98cab1c
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/tex: No such/tex: 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 }