wok-next view pari/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c3a368c0cddb
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pari"
4 VERSION="2.5.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Widely used computer algebra system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://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 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 # this configure not respect $CONFIGURE_ARGS :(
20 ./Configure \
21 --host=$ARCH \
22 --graphic=X11 \
23 --builddir=build \
24 --prefix=/usr &&
25 cd build
26 make all &&
27 make DESTDIR=$install install 2>&1 | sed \
28 -e "s/dvi': No such/dvi': no such/" \
29 -e "s/ps': No such/ps': no such/"
30 rm -rf $src/build
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 pari)
36 copy @std
37 DEPENDS="glibc-base gmp xorg-libxcb ncurses readline xorg-libX11 \
38 xorg-libXau xorg-libXdmcp"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }