wok-6.x annotate pari/receipt @ rev 24049

Up openvpn (2.5.2), openssh (8.6p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 10 20:32:02 2021 +0000 (2021-05-10)
parents 79c1549784d0
children 241fb98cab1c
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="pari"
Hans-G?nter@23278 4 VERSION="2.11.3"
al@13723 5 CATEGORY="utilities"
Hans-G?nter@21660 6 SHORT_DESC="Computer algebra system designed for fast computations in number theory."
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@21660 9 WEB_SITE="https://pari.math.u-bordeaux.fr/"
Hans-G?nter@21660 10
al@13723 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13723 12 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
al@13723 13
al@13723 14 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
Hans-G?nter@21660 15 xorg-libXdmcp"
al@13723 16 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
al@13723 17
al@13723 18 # Rules to configure and make the package.
al@13723 19 compile_rules()
al@13723 20 {
al@13723 21 mkdir build
Hans-G?nter@21660 22 # this configure does not respect $CONFIGURE_ARGS :(
Hans-G?nter@21660 23 ./Configure \
Hans-G?nter@21660 24 --host=$ARCH \
Hans-G?nter@21660 25 --graphic=X11 \
Hans-G?nter@21660 26 --builddir=build \
Hans-G?nter@21660 27 --prefix=/usr &&
Hans-G?nter@23278 28 cd build &&
al@13723 29 make all &&
pascal@15314 30 make DESTDIR=$install install 2>&1 | sed \
pascal@15314 31 -e "s/dvi': No such/dvi': no such/" \
pascal@23598 32 -e "s/tex: No such/tex: no such/"
Hans-G?nter@23278 33
al@13723 34 rm -rf $src/build
al@13723 35 }
al@13723 36
al@13723 37 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 38 genpkg_rules()
al@13723 39 {
Hans-G?nter@21660 40 mkdir -p $fs/usr/lib/pari
Hans-G?nter@21660 41 mkdir -p $fs/usr/share
Hans-G?nter@21660 42
Hans-G?nter@21660 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21660 44 cp -a $install/usr/lib/pari $fs/usr/lib
Hans-G?nter@21660 45 cp -a $install/usr/share/pari $fs/usr/share
al@13723 46 }