wok-next view pari/receipt @ rev 21724
busybox: update configs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 11:04:25 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
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 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 libxcb ncurses readline libx11 \
38 libxau libxdmcp"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }