wok view xmgrace/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }