wok-next view xmgrace/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 9102678083fb
children 5669e8b3be70
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 libpng16-dev fftw-dev lesstif-dev xorg-xorgproto bison \
15 xorg-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 libpng16 fftw lesstif"
49 }