wok-next view xmgrace/receipt @ rev 18672

syslinux/iso2exe: undo custom config too
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 05 12:23:18 2015 +0100 (2015-12-05)
parents
children b103fbd6b3b8
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 ./configure $CONFIGURE_ARGS \
20 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \
21 --enable-grace-home=/usr/share/grace \
22 --without-pdf-library \
23 --disable-netcdf --disable-editres \
24 --with-editor="editor" --with-helpviewer="browser %s" \
25 --disable-xmhtml &&
26 make &&
27 make install &&
28 make links
29 }
31 genpkg_rules()
32 {
33 rm -r $install/usr/share/grace/auxiliary/magic.grace \
34 $install/usr/share/grace/doc/*.pdf \
35 $install/usr/share/grace/doc/*.1 \
36 $install/usr/man
37 cp -a $install/* $fs
38 }