wok-next annotate xmgrace/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 618caf1965c4 |
children | f99935f1778a |
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" |
llev@18669 | 10 WEB_SITE="http://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 |
al@20454 | 14 DEPENDS="libjpeg libpng16 fftw lesstif" |
al@20454 | 15 BUILD_DEPENDS="jpeg-dev libpng16-dev fftw-dev lesstif-dev xorg-printproto bison \ |
pascal@20049 | 16 xorg-libXt-dev" |
llev@18669 | 17 |
llev@18669 | 18 compile_rules() |
llev@18669 | 19 { |
pascal@19295 | 20 sed -i 's|/man/|/share&|' doc/Makefile* |
llev@18669 | 21 ./configure $CONFIGURE_ARGS \ |
llev@18669 | 22 --prefix=/usr --sharedstatedir=/var/lib --localstatedir=/var \ |
llev@18669 | 23 --enable-grace-home=/usr/share/grace \ |
llev@18669 | 24 --without-pdf-library \ |
llev@18669 | 25 --disable-netcdf --disable-editres \ |
llev@18669 | 26 --with-editor="editor" --with-helpviewer="browser %s" \ |
llev@18669 | 27 --disable-xmhtml && |
llev@18669 | 28 make && |
llev@18669 | 29 make install && |
llev@18669 | 30 make links |
llevrel@18688 | 31 mkdir -p $install/usr/share/applications |
llevrel@18688 | 32 cp -a $stuff/xmgrace.desktop $install/usr/share/applications |
llev@18669 | 33 } |
llev@18669 | 34 |
llev@18669 | 35 genpkg_rules() |
llev@18669 | 36 { |
llev@18669 | 37 cp -a $install/* $fs |
llevrel@18688 | 38 rm -r $fs/usr/share/grace/auxiliary/magic.grace \ |
llevrel@18688 | 39 $fs/usr/share/grace/doc/*.pdf \ |
llevrel@18688 | 40 $fs/usr/share/grace/doc/*.1 \ |
llevrel@18688 | 41 $fs/usr/man |
llev@18669 | 42 } |