wok-next view graphviz/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 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="graphviz"
4 VERSION="2.44.0"
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/svn/general/graphviz.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www2.graphviz.org/Packages/stable/portable_source/$TARBALL"
15 BUILD_DEPENDS="automake expat-dev gc-dev gdk-pixbuf-dev gmp-dev guile-dev
16 libcroco-dev libgd-dev libjpeg-turbo-dev libpng-dev librsvg-dev
17 libtool libxml2-dev ocaml pango-dev pcre-dev perl-dev python-dev
18 ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev"
19 # php-dev lua-dev
20 SPLIT="\
21 $PACKAGE-dev $PACKAGE-doc $PACKAGE-demo $PACKAGE-guile $PACKAGE-ocaml \
22 $PACKAGE-perl $PACKAGE-python $PACKAGE-ruby $PACKAGE-tcl $PACKAGE"
23 COOKOPTS="skip-log-errors"
25 # FIXME: PHP and Lua support is temporarily disabled
26 # (PHP broken itself, Lua breaks the Graphviz)
28 compile_rules()
29 {
30 sed -i '/ruby/s/1\.9/2.5/' configure.ac
31 sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
33 autoreconf &&
34 ./configure $CONFIGURE_ARGS &&
35 fix libtool &&
36 make &&
37 make install
38 }
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 *-dev)
44 copy @dev
45 SUGGESTED="guile-dev ocaml perl-dev python-dev ruby-dev tcl-dev"
46 ;;
47 *-doc)
48 CAT="doc|documentation"
49 copy doc/
50 ;;
51 *-demo)
52 CAT="development|demo"
53 copy demo/
54 DEPENDS="graphviz perl python"
55 ;;
56 *-guile)
57 copy guile/ @rm
58 CAT="x-window|Guile bindings"
59 DEPENDS="graphviz guile"
60 ;;
61 *-ocaml)
62 copy ocaml/ @rm
63 CAT="x-window|Ocaml bindings"
64 DEPENDS="graphviz"
65 ;;
66 *-perl)
67 copy perl/ perl5/ @rm
68 CAT="x-window|Perl bindings"
69 DEPENDS="graphviz perl perl-core"
70 ;;
71 *-python)
72 copy python/ python2.7/ @rm
73 CAT="x-window|Python bindings"
74 DEPENDS="graphviz python"
75 ;;
76 *-ruby)
77 copy ruby/ @rm
78 CAT="x-window|Python bindings"
79 DEPENDS="graphviz libruby"
80 ;;
81 *-tcl)
82 copy tcl/ tcl8.6/ @rm
83 CAT="x-window|Tcl bindings"
84 DEPENDS="expat glib graphviz libcairo libgd libltdl pango zlib"
85 ;;
86 graphviz)
87 copy @std @rm
88 DEPENDS="expat gc glib libcairo libgd libltdl librsvg libx11 \
89 libxaw libxmu libxt pango zlib"
90 ;;
91 esac
92 find $fs -type f -name '*.la' -delete
93 }