wok-next view xmgrace/receipt @ rev 20680

Up at (3.1.20), bluez (5.48)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 17 13:01:17 2018 +0300 (2018-05-17)
parents 618caf1965c4
children f99935f1778a
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 libpng16 fftw lesstif"
15 BUILD_DEPENDS="jpeg-dev libpng16-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 }