wok annotate pari/receipt @ rev 15201

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 18:25:02 2013 +0000 (2013-09-07)
parents 4e805e1b2e7b
children a38fd3f53d2d
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 &&
al@13723 25 make DESTDIR=$install install
al@13723 26 rm -rf $src/build
al@13723 27 }
al@13723 28
al@13723 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 30 genpkg_rules()
al@13723 31 {
al@13723 32 mkdir -p $fs/usr/lib/pari $fs/usr/share
al@13723 33 cp -a $install/usr/bin $fs/usr
al@13723 34 cp -a $install/usr/lib/pari $fs/usr/lib
al@13723 35 cp -a $install/usr/share/pari $fs/usr/share
al@13723 36 }