wok-next annotate pari/receipt @ rev 14317
elementary-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 07 13:15:40 2013 +0200 (2013-04-07) |
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 } |