wok-current view xmgrace/receipt @ rev 19104
firefox-official-*: provides browser-html5 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 04 15:39:12 2016 +0200 (2016-05-04) |
parents | e56b92028f72 |
children | f86d053a0423 |
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"
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS \
20 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \
21 --enable-grace-home=/usr/share/grace \
22 --without-pdf-library \
23 --disable-netcdf --disable-editres \
24 --with-editor="editor" --with-helpviewer="browser %s" \
25 --disable-xmhtml &&
26 make &&
27 make install &&
28 make links
29 mkdir -p $install/usr/share/applications
30 cp -a $stuff/xmgrace.desktop $install/usr/share/applications
31 }
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -r $fs/usr/share/grace/auxiliary/magic.grace \
37 $fs/usr/share/grace/doc/*.pdf \
38 $fs/usr/share/grace/doc/*.1 \
39 $fs/usr/man
40 }