wok-6.x annotate xmgrace/receipt @ rev 18669

Add xmgrace (5.1.25)
author llev
date Fri Dec 04 21:09:27 2015 +0100 (2015-12-04)
parents
children b103fbd6b3b8
rev   line source
llev@18669 1 # SliTaz package receipt.
llev@18669 2
llev@18669 3 PACKAGE="xmgrace"
llev@18669 4 VERSION="5.1.25"
llev@18669 5 CATEGORY="math"
llev@18669 6 SHORT_DESC="Grace is a WYSIWYG 2D plotting tool."
llev@18669 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
llev@18669 8 LICENSE="GPL2"
llev@18669 9 SOURCE="grace"
llev@18669 10 WEB_SITE="http://plasma-gate.weizmann.ac.il/Grace/"
llev@18669 11 TARBALL="$SOURCE-$VERSION.tar.gz"
llev@18669 12 WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL"
llev@18669 13
llev@18669 14 DEPENDS="libjpeg libpng fftw lesstif"
llev@18669 15 BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison"
llev@18669 16
llev@18669 17 compile_rules()
llev@18669 18 {
llev@18669 19 ./configure $CONFIGURE_ARGS \
llev@18669 20 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \
llev@18669 21 --enable-grace-home=/usr/share/grace \
llev@18669 22 --without-pdf-library \
llev@18669 23 --disable-netcdf --disable-editres \
llev@18669 24 --with-editor="editor" --with-helpviewer="browser %s" \
llev@18669 25 --disable-xmhtml &&
llev@18669 26 make &&
llev@18669 27 make install &&
llev@18669 28 make links
llev@18669 29 }
llev@18669 30
llev@18669 31 genpkg_rules()
llev@18669 32 {
llev@18669 33 rm -r $install/usr/share/grace/auxiliary/magic.grace \
llev@18669 34 $install/usr/share/grace/doc/*.pdf \
llev@18669 35 $install/usr/share/grace/doc/*.1 \
llev@18669 36 $install/usr/man
llev@18669 37 cp -a $install/* $fs
llev@18669 38 }