wok view xmgrace/receipt @ rev 23950

syslinux/taziso: fix tazbootkey
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 21:21:51 2020 +0000 (2020-09-20)
parents f86d053a0423
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xmgrace"
4 VERSION="5.1.25"
5 CATEGORY="math"
6 SHORT_DESC="Grace is a WYSIWYG 2D plotting tool."
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL2"
9 SOURCE="grace"
10 WEB_SITE="https://plasma-gate.weizmann.ac.il/Grace/"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL"
14 DEPENDS="libjpeg libpng fftw lesstif"
15 BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison"
17 compile_rules()
18 {
19 sed -i 's|/man/|/share&|' doc/Makefile*
20 ./configure $CONFIGURE_ARGS \
21 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \
22 --enable-grace-home=/usr/share/grace \
23 --without-pdf-library \
24 --disable-netcdf --disable-editres \
25 --with-editor="editor" --with-helpviewer="browser %s" \
26 --disable-xmhtml &&
27 make &&
28 make install &&
29 make links
30 mkdir -p $install/usr/share/applications
31 cp -a $stuff/xmgrace.desktop $install/usr/share/applications
32 }
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm -r $fs/usr/share/grace/auxiliary/magic.grace \
38 $fs/usr/share/grace/doc/*.pdf \
39 $fs/usr/share/grace/doc/*.1 \
40 $fs/usr/man
41 }