wok view graphviz/receipt @ rev 22361

updated graphviz (2.28.0 -> 2.42.3)
author Hans-G?nter Theisgen
date Thu Nov 21 13:37:52 2019 +0100 (11 months ago)
parents f091ce590d71
children d32ebfceb732
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="2.42.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Automatic graph drawing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Eclipse"
9 WEB_SITE="https://www.graphviz.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://graphviz.gitlab.io/pub/$PACKAGE/stable/SOURCES/$PACKAGE.tar.gz"
14 DEPENDS="expat gcc83-lib-base jpeg libpng librsvg libxml2 pcre
15 util-linux-uuid zlib"
16 BUILD_DEPENDS="gcc83 expat-dev gdk-pixbuf-dev guile-dev jpeg-dev
17 libcroco-dev libgd-dev libpng-dev librsvg-dev libxml2-dev
18 lua-dev ocaml pango-dev pcre-dev php-cli php-dev pkg-config
19 python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev
20 xorg-dev zlib-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' \
26 tclpkg/gv/Makefile*
27 sed -i 's/.*PHPWRITE.*/ TSRMLS_FETCH();\n&/' \
28 tclpkg/gv/gv_php_init.c
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --disable-static \
36 --disable-gtk \
37 --disable-gtkgl \
38 --disable-gtkglext \
39 --with-pangocairo \
40 --with-x \
41 --with-gdk-pixbuf \
42 --with-ghostscript=no \
43 --without-gtk \
44 --without-gtkgl \
45 --without-gtkglext \
46 --without-glade \
47 --with-ortho=no \
48 --disable-sharp \
49 --disable-java \
50 --enable-guile=yes \
51 --with-rsvg=yes \
52 --with-png=yes \
53 --with-jpeg=yes \
54 --enable-lua=yes \
55 --enable-ocaml=yes \
56 --enable-php=yes \
57 --enable-ruby=yes \
58 --enable-tcl=yes \
59 --enable-python=yes \
60 --disable-python23 \
61 --disable-python24 \
62 --disable-python25 \
63 --disable-python26 \
64 --disable-r \
65 --mandir=/usr/share/man \
66 $CONFIGURE_ARGS &&
67 make &&
68 make DESTDIR=$DESTDIR install
69 }
71 # Rules to gen a SliTaz package suitable for Tazpkg.
72 genpkg_rules()
73 {
74 mkdir -p $fs/usr/lib
75 mkdir -p $fs/usr/share/graphviz
77 cp -a $install/usr/lib/*.so* $fs/usr/lib
78 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
79 cp -a $install/usr/lib/graphviz $fs/usr/lib/
80 rm -f $fs/usr/lib/graphviz/*.la
81 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
82 cp -a $install/usr/share/graphviz/smyrna $fs/usr/share/graphviz
83 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
84 cp -a $install/usr/bin $fs/usr
85 }