wok-6.x view xmgrace/receipt @ rev 20761
updated cairo again
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 12 17:49:17 2019 +0100 (2019-02-12) |
parents | b103fbd6b3b8 |
children | adc1d6ae992b |
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 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 }