wok-current annotate xmgrace/receipt @ rev 23847
cairo: update build_depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Jun 13 18:19:02 2020 -0400 (2020-06-13) |
parents | f86d053a0423 |
children | 535c806240cc |
rev | line source |
---|---|
llev@18669 | 1 # SliTaz package receipt. |
llev@18669 | 2 |
llev@18669 | 3 PACKAGE="xmgrace" |
llev@18669 | 4 VERSION="5.1.25" |
llev@18669 | 5 CATEGORY="math" |
llev@18669 | 6 SHORT_DESC="Grace is a WYSIWYG 2D plotting tool." |
llev@18669 | 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>" |
llev@18669 | 8 LICENSE="GPL2" |
llev@18669 | 9 SOURCE="grace" |
pascal@23702 | 10 WEB_SITE="https://plasma-gate.weizmann.ac.il/Grace/" |
llev@18669 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
llev@18669 | 12 WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL" |
llev@18669 | 13 |
llev@18669 | 14 DEPENDS="libjpeg libpng fftw lesstif" |
llev@18669 | 15 BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison" |
llev@18669 | 16 |
llev@18669 | 17 compile_rules() |
llev@18669 | 18 { |
pascal@19295 | 19 sed -i 's|/man/|/share&|' doc/Makefile* |
llev@18669 | 20 ./configure $CONFIGURE_ARGS \ |
llev@18669 | 21 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \ |
llev@18669 | 22 --enable-grace-home=/usr/share/grace \ |
llev@18669 | 23 --without-pdf-library \ |
llev@18669 | 24 --disable-netcdf --disable-editres \ |
llev@18669 | 25 --with-editor="editor" --with-helpviewer="browser %s" \ |
llev@18669 | 26 --disable-xmhtml && |
llev@18669 | 27 make && |
llev@18669 | 28 make install && |
llev@18669 | 29 make links |
llevrel@18688 | 30 mkdir -p $install/usr/share/applications |
llevrel@18688 | 31 cp -a $stuff/xmgrace.desktop $install/usr/share/applications |
llev@18669 | 32 } |
llev@18669 | 33 |
llev@18669 | 34 genpkg_rules() |
llev@18669 | 35 { |
llev@18669 | 36 cp -a $install/* $fs |
llevrel@18688 | 37 rm -r $fs/usr/share/grace/auxiliary/magic.grace \ |
llevrel@18688 | 38 $fs/usr/share/grace/doc/*.pdf \ |
llevrel@18688 | 39 $fs/usr/share/grace/doc/*.1 \ |
llevrel@18688 | 40 $fs/usr/man |
llev@18669 | 41 } |