wok annotate pari/receipt @ rev 18910

Add gnubg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:54:46 2016 +0100 (2016-02-22)
parents 380ffe05937a
children 8cd03bcd99f2
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"
pascal@15000 8 LICENSE="GPL2"
al@13723 9 WEB_SITE="http://pari.math.u-bordeaux.fr/"
al@13723 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13723 11 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL"
al@13723 12
al@13723 13 DEPENDS="glibc-base gmp libxcb ncurses readline xorg-libX11 xorg-libXau \
al@13723 14 xorg-libXdmcp"
al@13723 15 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
al@13723 16
al@13723 17 # Rules to configure and make the package.
al@13723 18 compile_rules()
al@13723 19 {
al@13723 20 mkdir build
al@13723 21 # this configure not respect $CONFIGURE_ARGS :(
al@13723 22 ./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr &&
al@13723 23 cd build
al@13723 24 make all &&
pascal@15314 25 make DESTDIR=$install install 2>&1 | sed \
pascal@15314 26 -e "s/dvi': No such/dvi': no such/" \
pascal@15314 27 -e "s/ps': No such/ps': no such/"
al@13723 28 rm -rf $src/build
al@13723 29 }
al@13723 30
al@13723 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 32 genpkg_rules()
al@13723 33 {
al@13723 34 mkdir -p $fs/usr/lib/pari $fs/usr/share
al@13723 35 cp -a $install/usr/bin $fs/usr
al@13723 36 cp -a $install/usr/lib/pari $fs/usr/lib
al@13723 37 cp -a $install/usr/share/pari $fs/usr/share
al@13723 38 }