wok-next view graphviz/receipt @ rev 20280

remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 14:41:47 2017 +0100 (2017-11-08)
parents a3eed29ea834
children 30af4e7aa239
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 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.4/' configure.ac
28 sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
29 autoreconf &&
31 ./configure $CONFIGURE_ARGS && make && make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 *-dev)
37 copy @dev
38 DEPENDS="graphviz graphviz-guile graphviz-ocaml graphviz-perl \
39 graphviz-python graphviz-ruby graphviz-tcl \
40 bzip2-dev cairo-dev expat-dev fontconfig-dev freetype-dev \
41 gdk-pixbuf-dev glib-dev gmp-dev harfbuzz-dev libjpeg-turbo-dev \
42 libcroco-dev libffi-dev libgd-dev libpng16-dev librsvg-dev libtool \
43 libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
44 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
45 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXpm-dev \
46 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
47 SUGGESTED="guile-dev ocaml perl-dev python-dev ruby-dev tcl-dev"
48 ;;
49 *-doc)
50 CAT="doc|documentation"
51 copy doc/
52 ;;
53 *-demo)
54 CAT="development|demo"
55 copy demo/
56 DEPENDS="graphviz perl python ruby tcl"
57 ;;
58 *-guile)
59 copy guile/ @rm
60 CAT="x-window|Guile bindings"
61 DEPENDS="graphviz expat gmp guile libltdl zlib"
62 ;;
63 *-ocaml)
64 copy ocaml/ @rm
65 CAT="x-window|Ocaml bindings"
66 DEPENDS="graphviz expat libltdl zlib"
67 ;;
68 *-perl)
69 copy perl/ perl5/ @rm
70 CAT="x-window|Perl bindings"
71 DEPENDS="graphviz expat libltdl perl perl-core zlib"
72 ;;
73 *-python)
74 copy python/ python2.7/ @rm
75 CAT="x-window|Python bindings"
76 DEPENDS="graphviz expat libltdl python zlib"
77 ;;
78 *-ruby)
79 copy ruby/ @rm
80 CAT="x-window|Python bindings"
81 DEPENDS="graphviz expat gmp libltdl libruby zlib"
82 ;;
83 *-tcl)
84 copy tcl/ tcl8.6/ @rm
85 CAT="x-window|Tcl bindings"
86 DEPENDS="graphviz bzlib cairo expat fontconfig freetype glib \
87 libffi libgd libharfbuzz libjpeg-turbo libltdl liblzma libpng16 \
88 libxml2 pango pcre xorg-libX11 xorg-libXau xorg-libXdmcp \
89 xorg-libXext xorg-libXpm xorg-libXrender xorg-libxcb xorg-pixman \
90 zlib"
91 ;;
92 graphviz)
93 copy @std @rm
94 DEPENDS="bzlib cairo expat fontconfig freetype gdk-pixbuf glib \
95 libcroco libffi libgd libharfbuzz libjpeg-turbo libltdl liblzma \
96 libpng16 librsvg libxml2 pango pcre util-linux-blkid \
97 util-linux-mount util-linux-uuid xorg-libICE xorg-libSM \
98 xorg-libX11 xorg-libXau xorg-libXaw xorg-libXdmcp xorg-libXext \
99 xorg-libXmu xorg-libXpm xorg-libXrender xorg-libXt xorg-libxcb \
100 xorg-pixman zlib"
101 ;;
102 esac
103 }