wok-next annotate pari/receipt @ rev 21277
geeqie: replaced lua by lua51
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:00:59 2019 +0100 (2019-12-07) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="pari" |
al@13723 | 4 VERSION="2.5.3" |
al@13723 | 5 CATEGORY="utilities" |
al@21020 | 6 SHORT_DESC="Widely used computer algebra system" |
al@13723 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@13723 | 9 WEB_SITE="http://pari.math.u-bordeaux.fr/" |
al@20456 | 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@21078 | 14 BUILD_DEPENDS="gmp-dev readline-dev libx11-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@13723 | 16 |
al@20456 | 17 compile_rules() { |
al@13723 | 18 mkdir build |
al@13723 | 19 # this configure not respect $CONFIGURE_ARGS :( |
al@20456 | 20 ./Configure \ |
al@20456 | 21 --host=$ARCH \ |
al@20456 | 22 --graphic=X11 \ |
al@20456 | 23 --builddir=build \ |
al@20456 | 24 --prefix=/usr && |
al@13723 | 25 cd build |
al@13723 | 26 make all && |
pascal@15314 | 27 make DESTDIR=$install install 2>&1 | sed \ |
pascal@15314 | 28 -e "s/dvi': No such/dvi': no such/" \ |
pascal@15314 | 29 -e "s/ps': No such/ps': no such/" |
al@13723 | 30 rm -rf $src/build |
al@13723 | 31 } |
al@13723 | 32 |
al@20456 | 33 genpkg_rules() { |
al@20456 | 34 case $PACKAGE in |
al@20456 | 35 pari) |
al@20456 | 36 copy @std |
al@21078 | 37 DEPENDS="glibc-base gmp libxcb ncurses readline libx11 \ |
al@21078 | 38 libxau libxdmcp" |
al@20456 | 39 ;; |
al@20456 | 40 *-dev) |
al@20456 | 41 copy @dev |
al@20456 | 42 ;; |
al@20456 | 43 esac |
al@13723 | 44 } |