wok-current view graphviz/receipt @ rev 23667

updated squirrelmail-multilogin (2.4-1.2.9 -> 2.4.2-1.2.9)
author Hans-G?nter Theisgen
date Sun Apr 26 06:53:18 2020 +0100 (2020-04-26)
parents d32ebfceb732
children dc0f7fd1ff7d
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 # 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 ./autogen.sh
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --disable-static \
37 --disable-gtk \
38 --disable-gtkgl \
39 --disable-gtkglext \
40 --with-pangocairo \
41 --with-x \
42 --with-gdk-pixbuf \
43 --with-ghostscript=no \
44 --without-gtk \
45 --without-gtkgl \
46 --without-gtkglext \
47 --without-glade \
48 --with-ortho=no \
49 --disable-sharp \
50 --disable-java \
51 --enable-guile=yes \
52 --with-rsvg=yes \
53 --with-png=yes \
54 --with-jpeg=yes \
55 --enable-lua=yes \
56 --enable-ocaml=yes \
57 --enable-php=yes \
58 --enable-ruby=yes \
59 --enable-tcl=yes \
60 --enable-python=yes \
61 --disable-python23 \
62 --disable-python24 \
63 --disable-python25 \
64 --disable-python26 \
65 --disable-r \
66 --mandir=/usr/share/man \
67 $CONFIGURE_ARGS &&
68 make &&
69 make DESTDIR=$DESTDIR install
70 }
72 # Rules to gen a SliTaz package suitable for Tazpkg.
73 genpkg_rules()
74 {
75 mkdir -p $fs/usr/lib
76 mkdir -p $fs/usr/share/graphviz
78 cp -a $install/usr/lib/*.so* $fs/usr/lib
79 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
80 cp -a $install/usr/lib/graphviz $fs/usr/lib/
81 rm -f $fs/usr/lib/graphviz/*.la
82 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
83 cp -a $install/usr/share/graphviz/gvpr $fs/usr/share/graphviz
84 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
85 cp -a $install/usr/bin $fs/usr
86 }