wok-next view xmgrace/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | f86d053a0423 |
children | dd145c435e4b |
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="http://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 \
16 xorg-libXt-dev"
18 compile_rules()
19 {
20 sed -i 's|/man/|/share&|' doc/Makefile*
21 ./configure $CONFIGURE_ARGS \
22 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \
23 --enable-grace-home=/usr/share/grace \
24 --without-pdf-library \
25 --disable-netcdf --disable-editres \
26 --with-editor="editor" --with-helpviewer="browser %s" \
27 --disable-xmhtml &&
28 make &&
29 make install &&
30 make links
31 mkdir -p $install/usr/share/applications
32 cp -a $stuff/xmgrace.desktop $install/usr/share/applications
33 }
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -r $fs/usr/share/grace/auxiliary/magic.grace \
39 $fs/usr/share/grace/doc/*.pdf \
40 $fs/usr/share/grace/doc/*.1 \
41 $fs/usr/man
42 }