wok-next view graphviz/receipt @ rev 21427

updated qt4 (4.8.6 -> 4.8.7)
author Hans-G?nter Theisgen
date Tue May 05 08:11:24 2020 +0100 (2020-05-05)
parents 5669e8b3be70
children a93d4b2c53cf
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/svn/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 libpng-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="\
20 $PACKAGE-dev $PACKAGE-doc $PACKAGE-demo $PACKAGE-guile $PACKAGE-ocaml \
21 $PACKAGE-perl $PACKAGE-python $PACKAGE-ruby $PACKAGE-tcl $PACKAGE"
22 COOKOPTS="skip-log-errors"
24 # FIXME: PHP and Lua support is temporarily disabled
25 # (PHP broken itself, Lua breaks the Graphviz)
27 compile_rules() {
28 sed -i '/ruby/s/1\.9/2.5/' configure.ac
29 sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
30 autoreconf &&
32 ./configure $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make install
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 *-dev)
41 copy @dev
42 SUGGESTED="guile-dev ocaml perl-dev python-dev ruby-dev tcl-dev"
43 ;;
44 *-doc)
45 CAT="doc|documentation"
46 copy doc/
47 ;;
48 *-demo)
49 CAT="development|demo"
50 copy demo/
51 DEPENDS="graphviz perl python"
52 ;;
53 *-guile)
54 copy guile/ @rm
55 CAT="x-window|Guile bindings"
56 DEPENDS="graphviz guile"
57 ;;
58 *-ocaml)
59 copy ocaml/ @rm
60 CAT="x-window|Ocaml bindings"
61 DEPENDS="graphviz"
62 ;;
63 *-perl)
64 copy perl/ perl5/ @rm
65 CAT="x-window|Perl bindings"
66 DEPENDS="graphviz perl perl-core"
67 ;;
68 *-python)
69 copy python/ python2.7/ @rm
70 CAT="x-window|Python bindings"
71 DEPENDS="graphviz python"
72 ;;
73 *-ruby)
74 copy ruby/ @rm
75 CAT="x-window|Python bindings"
76 DEPENDS="graphviz libruby"
77 ;;
78 *-tcl)
79 copy tcl/ tcl8.6/ @rm
80 CAT="x-window|Tcl bindings"
81 DEPENDS="graphviz libcairo expat glib libgd libltdl pango zlib"
82 ;;
83 graphviz)
84 copy @std @rm
85 DEPENDS="libcairo expat glib libgd libltdl librsvg pango libx11 \
86 libxaw libxmu libxt zlib"
87 ;;
88 esac
89 find $fs -type f -name '*.la' -delete
90 }