wok diff xmgrace/receipt @ rev 18669

Add xmgrace (5.1.25)
author llev
date Fri Dec 04 21:09:27 2015 +0100 (2015-12-04)
parents
children b103fbd6b3b8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xmgrace/receipt	Fri Dec 04 21:09:27 2015 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xmgrace"
     1.7 +VERSION="5.1.25"
     1.8 +CATEGORY="math"
     1.9 +SHORT_DESC="Grace is a WYSIWYG 2D plotting tool."
    1.10 +MAINTAINER="Lucas Levrel <llev@slitaz.org>"
    1.11 +LICENSE="GPL2"
    1.12 +SOURCE="grace"
    1.13 +WEB_SITE="http://plasma-gate.weizmann.ac.il/Grace/"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libjpeg libpng fftw lesstif"
    1.18 +BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison"
    1.19 +
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure $CONFIGURE_ARGS \
    1.23 +		--prefix=/usr   --sharedstatedir=/var/lib --localstatedir=/var \
    1.24 +		--enable-grace-home=/usr/share/grace \
    1.25 +		--without-pdf-library \
    1.26 +		--disable-netcdf --disable-editres \
    1.27 +		--with-editor="editor" --with-helpviewer="browser %s" \
    1.28 +		--disable-xmhtml &&
    1.29 +	make &&
    1.30 +	make install &&
    1.31 +	make links
    1.32 +}
    1.33 +
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	rm -r $install/usr/share/grace/auxiliary/magic.grace \
    1.37 +		$install/usr/share/grace/doc/*.pdf \
    1.38 +		$install/usr/share/grace/doc/*.1 \
    1.39 +		$install/usr/man
    1.40 +	cp -a $install/* $fs
    1.41 +}