wok-next view pari/receipt @ rev 20457
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 11:13:24 2018 +0200 (2018-03-02) |
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 }