wok-next annotate xmgrace/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
llev@18669 2
llev@18669 3 PACKAGE="xmgrace"
llev@18669 4 VERSION="5.1.25"
llev@18669 5 CATEGORY="math"
al@21020 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 WEB_SITE="http://plasma-gate.weizmann.ac.il/Grace/"
al@21020 10
al@21020 11 TARBALL="grace-$VERSION.tar.gz"
llev@18669 12 WGET_URL="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/$TARBALL"
llev@18669 13
al@21078 14 BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorgproto bison \
al@21078 15 libxt-dev"
llev@18669 16
al@21020 17 compile_rules() {
pascal@19295 18 sed -i 's|/man/|/share&|' doc/Makefile*
al@21020 19
al@21020 20 ./configure \
al@21020 21 --prefix=/usr \
al@21020 22 --sharedstatedir=/var/lib \
al@21020 23 --localstatedir=/var \
llev@18669 24 --enable-grace-home=/usr/share/grace \
llev@18669 25 --without-pdf-library \
al@21020 26 --disable-netcdf \
al@21020 27 --disable-editres \
al@21020 28 --with-editor="editor" \
al@21020 29 --with-helpviewer="browser %s" \
al@21020 30 --disable-xmhtml \
al@21020 31 $CONFIGURE_ARGS &&
llev@18669 32 make &&
llev@18669 33 make install &&
al@21020 34 make links || return 1
al@21020 35
llevrel@18688 36 mkdir -p $install/usr/share/applications
llevrel@18688 37 cp -a $stuff/xmgrace.desktop $install/usr/share/applications
al@20938 38
al@20938 39 fix symlinks
llev@18669 40 }
llev@18669 41
al@21020 42 genpkg_rules() {
llev@18669 43 cp -a $install/* $fs
llevrel@18688 44 rm -r $fs/usr/share/grace/auxiliary/magic.grace \
llevrel@18688 45 $fs/usr/share/grace/doc/*.pdf \
llevrel@18688 46 $fs/usr/share/grace/doc/*.1 \
llevrel@18688 47 $fs/usr/man
al@21078 48 DEPENDS="libjpeg libpng fftw lesstif"
llev@18669 49 }