wok-next view xmgrace/receipt @ rev 21495

updated arping (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Thu Jun 18 21:25:23 2020 +0100 (2020-06-18)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://plasma-gate.weizmann.ac.il/Grace/"
11 TARBALL="grace-$VERSION.tar.gz"
12 WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL"
14 BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorgproto bison \
15 libxt-dev"
17 compile_rules() {
18 sed -i 's|/man/|/share&|' doc/Makefile*
20 ./configure \
21 --prefix=/usr \
22 --sharedstatedir=/var/lib \
23 --localstatedir=/var \
24 --enable-grace-home=/usr/share/grace \
25 --without-pdf-library \
26 --disable-netcdf \
27 --disable-editres \
28 --with-editor="editor" \
29 --with-helpviewer="browser %s" \
30 --disable-xmhtml \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install &&
34 make links || return 1
36 mkdir -p $install/usr/share/applications
37 cp -a $stuff/xmgrace.desktop $install/usr/share/applications
39 fix symlinks
40 }
42 genpkg_rules() {
43 cp -a $install/* $fs
44 rm -r $fs/usr/share/grace/auxiliary/magic.grace \
45 $fs/usr/share/grace/doc/*.pdf \
46 $fs/usr/share/grace/doc/*.1 \
47 $fs/usr/man
48 DEPENDS="libjpeg libpng fftw lesstif"
49 }