wok-6.x annotate pari/receipt @ rev 22767
updated foomatic-filters (4.0.5 -> 4.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 25 14:46:57 2020 +0100 (2020-01-25) |
parents | a38fd3f53d2d |
children | 79c1549784d0 |
rev | line source |
---|---|
al@13723 | 1 # SliTaz package receipt. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="pari" |
Hans-G?nter@21660 | 4 VERSION="2.11.2" |
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 && |
al@13723 | 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@15314 | 32 -e "s/ps': No such/ps': no such/" |
al@13723 | 33 rm -rf $src/build |
al@13723 | 34 } |
al@13723 | 35 |
al@13723 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 37 genpkg_rules() |
al@13723 | 38 { |
Hans-G?nter@21660 | 39 mkdir -p $fs/usr/lib/pari |
Hans-G?nter@21660 | 40 mkdir -p $fs/usr/share |
Hans-G?nter@21660 | 41 |
Hans-G?nter@21660 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21660 | 43 cp -a $install/usr/lib/pari $fs/usr/lib |
Hans-G?nter@21660 | 44 cp -a $install/usr/share/pari $fs/usr/share |
al@13723 | 45 } |