wok view graphviz/receipt @ rev 24277

updated python-http-parser (0.8.3 -> 0.9.0)
author Hans-G?nter Theisgen
date Thu Jan 06 07:57:35 2022 +0100 (2022-01-06)
parents 7817ab942805
children 3abeffdae80b
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="2.42.2"
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://gitlab.com/graphviz/graphviz/-/archive/stable_release_$VERSION/graphviz-stable_release_$VERSION.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 automake sed"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
25 sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' \
32 tclpkg/gv/Makefile*
33 sed -i 's/.*PHPWRITE.*/ TSRMLS_FETCH();\n&/' \
34 tclpkg/gv/gv_php_init.c
36 ./autogen.sh
37 ./configure \
38 CC=gcc-83 \
39 CXX=g++-83 \
40 --prefix=/usr \
41 --infodir=/usr/share/info \
42 --disable-static \
43 --disable-gtk \
44 --disable-gtkgl \
45 --disable-gtkglext \
46 --with-pangocairo \
47 --with-x \
48 --with-gdk-pixbuf \
49 --with-ghostscript=no \
50 --without-gtk \
51 --without-gtkgl \
52 --without-gtkglext \
53 --without-glade \
54 --with-ortho=no \
55 --disable-sharp \
56 --disable-java \
57 --enable-guile=yes \
58 --with-rsvg=yes \
59 --with-png=yes \
60 --with-jpeg=yes \
61 --enable-lua=yes \
62 --enable-ocaml=yes \
63 --enable-php=yes \
64 --enable-ruby=yes \
65 --enable-tcl=yes \
66 --enable-python=yes \
67 --disable-python23 \
68 --disable-python24 \
69 --disable-python25 \
70 --disable-python26 \
71 --disable-r \
72 --mandir=/usr/share/man \
73 $CONFIGURE_ARGS &&
74 make &&
75 make DESTDIR=$DESTDIR install
76 }
78 # Rules to gen a SliTaz package suitable for Tazpkg.
79 genpkg_rules()
80 {
81 mkdir -p $fs/usr/lib
82 mkdir -p $fs/usr/share/graphviz
84 cp -a $install/usr/lib/*.so* $fs/usr/lib
85 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
86 cp -a $install/usr/lib/graphviz $fs/usr/lib/
87 rm -f $fs/usr/lib/graphviz/*.la
88 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
89 cp -a $install/usr/share/graphviz/gvpr $fs/usr/share/graphviz
90 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
91 cp -a $install/usr/bin $fs/usr
92 }