wok-next view graphviz/receipt @ rev 20860
graphviz: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 16:49:04 2018 +0300 (2018-06-27) |
parents | 342b30daff76 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="graphviz"
4 VERSION="2.40.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Automatic graph drawing"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Eclipse"
9 WEB_SITE="http://www.graphviz.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/graphviz.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://graphviz.org/pub/graphviz/stable/SOURCES/$TARBALL"
15 BUILD_DEPENDS="automake xorg-dev expat-dev zlib-dev libpng16-dev \
16 libjpeg-turbo-dev libgd-dev swig ocaml python-dev tcl-dev tk-dev librsvg-dev \
17 ruby-dev libcroco-dev util-linux-uuid-dev pango-dev libxml2-dev gdk-pixbuf-dev \
18 guile-dev gmp-dev pcre-dev perl-dev libtool" # php-dev lua-dev
19 SPLIT="graphviz-dev graphviz-doc graphviz-demo graphviz-guile graphviz-ocaml \
20 graphviz-perl graphviz-python graphviz-ruby graphviz-tcl graphviz"
21 COOKOPTS="skip-log-errors"
23 # FIXME: PHP and Lua support is temporarily disabled
24 # (PHP broken itself, Lua breaks the Graphviz)
26 compile_rules() {
27 sed -i '/ruby/s/1\.9/2.5/' configure.ac
28 sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
29 autoreconf &&
31 ./configure $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 *-dev)
40 copy @dev
41 SUGGESTED="guile-dev ocaml perl-dev python-dev ruby-dev tcl-dev"
42 ;;
43 *-doc)
44 CAT="doc|documentation"
45 copy doc/
46 ;;
47 *-demo)
48 CAT="development|demo"
49 copy demo/
50 DEPENDS="graphviz perl python"
51 ;;
52 *-guile)
53 copy guile/ @rm
54 CAT="x-window|Guile bindings"
55 DEPENDS="graphviz guile"
56 ;;
57 *-ocaml)
58 copy ocaml/ @rm
59 CAT="x-window|Ocaml bindings"
60 DEPENDS="graphviz"
61 ;;
62 *-perl)
63 copy perl/ perl5/ @rm
64 CAT="x-window|Perl bindings"
65 DEPENDS="graphviz perl perl-core"
66 ;;
67 *-python)
68 copy python/ python2.7/ @rm
69 CAT="x-window|Python bindings"
70 DEPENDS="graphviz python"
71 ;;
72 *-ruby)
73 copy ruby/ @rm
74 CAT="x-window|Python bindings"
75 DEPENDS="graphviz libruby"
76 ;;
77 *-tcl)
78 copy tcl/ tcl8.6/ @rm
79 CAT="x-window|Tcl bindings"
80 DEPENDS="graphviz cairo expat glib libgd libltdl pango zlib"
81 ;;
82 graphviz)
83 copy @std @rm
84 DEPENDS="cairo expat glib libgd libltdl librsvg pango xorg-libX11 \
85 xorg-libXaw xorg-libXmu xorg-libXt zlib"
86 ;;
87 esac
88 find $fs -type f -name '*.la' -delete
89 }