wok annotate xmgrace/receipt @ rev 19294

sane-backends, scons, scrot, shell-fm, smake, soundtouch, wireless_tools: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 16:30:34 2016 +0200 (2016-07-06)
parents e56b92028f72
children f86d053a0423
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
llevrel@18688 29 mkdir -p $install/usr/share/applications
llevrel@18688 30 cp -a $stuff/xmgrace.desktop $install/usr/share/applications
llev@18669 31 }
llev@18669 32
llev@18669 33 genpkg_rules()
llev@18669 34 {
llev@18669 35 cp -a $install/* $fs
llevrel@18688 36 rm -r $fs/usr/share/grace/auxiliary/magic.grace \
llevrel@18688 37 $fs/usr/share/grace/doc/*.pdf \
llevrel@18688 38 $fs/usr/share/grace/doc/*.1 \
llevrel@18688 39 $fs/usr/man
llev@18669 40 }