wok annotate pari/receipt @ rev 14909
slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 05 11:40:01 2013 +0300 (2013-08-05) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
al@13723 | 1 # SliTaz package receipt. |
al@13723 | 2 |
al@13723 | 3 PACKAGE="pari" |
al@13723 | 4 VERSION="2.5.3" |
al@13723 | 5 CATEGORY="utilities" |
al@13723 | 6 SHORT_DESC="PARI/GP is a widely used computer algebra system" |
al@13723 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@13723 | 8 WEB_SITE="http://pari.math.u-bordeaux.fr/" |
al@13723 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13723 | 10 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL" |
al@13723 | 11 |
al@13723 | 12 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \ |
al@13723 | 13 xorg-libXdmcp" |
al@13723 | 14 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev" |
al@13723 | 15 |
al@13723 | 16 # Rules to configure and make the package. |
al@13723 | 17 compile_rules() |
al@13723 | 18 { |
al@13723 | 19 mkdir build |
al@13723 | 20 # this configure not respect $CONFIGURE_ARGS :( |
al@13723 | 21 ./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr && |
al@13723 | 22 cd build |
al@13723 | 23 make all && |
al@13723 | 24 make DESTDIR=$install install |
al@13723 | 25 rm -rf $src/build |
al@13723 | 26 } |
al@13723 | 27 |
al@13723 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 29 genpkg_rules() |
al@13723 | 30 { |
al@13723 | 31 mkdir -p $fs/usr/lib/pari $fs/usr/share |
al@13723 | 32 cp -a $install/usr/bin $fs/usr |
al@13723 | 33 cp -a $install/usr/lib/pari $fs/usr/lib |
al@13723 | 34 cp -a $install/usr/share/pari $fs/usr/share |
al@13723 | 35 } |