wok-next view xmgrace/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }