wok-next view pari/receipt @ rev 20907

slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 15:39:58 2018 +0300 (2018-08-10)
parents 7639f09792cf
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pari"
4 VERSION="2.5.3"
5 CATEGORY="utilities"
6 SHORT_DESC="PARI/GP is a 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="pari-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 }