wok-next view graphviz/receipt @ rev 19670

sudo-pam: add the same patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 18 15:28:43 2017 +0200 (2017-03-18)
parents de49f29b101e
children a3eed29ea834
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="2.28.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Automatic graph drawing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Eclipse"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.graphviz.org/"
11 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
13 DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre"
14 BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \
15 jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \
16 librsvg-dev php-dev ruby-dev libcroco-dev util-linux-uuid-dev \
17 pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev pcre-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' tclpkg/gv/Makefile*
24 sed -i 's/.*PHPWRITE.*/ TSRMLS_FETCH();\n&/' tclpkg/gv/gv_php_init.c
25 ./configure --prefix=/usr \
26 --infodir=/usr/share/info \
27 --disable-static \
28 --disable-gtk \
29 --disable-gtkgl \
30 --disable-gtkglext \
31 --with-pangocairo \
32 --with-x \
33 --with-gdk-pixbuf \
34 --with-ghostscript=no \
35 --without-gtk \
36 --without-gtkgl \
37 --without-gtkglext \
38 --without-glade \
39 --with-ortho=no \
40 --disable-sharp \
41 --disable-java \
42 --enable-guile=yes \
43 --with-rsvg=yes \
44 --with-png=yes \
45 --with-jpeg=yes \
46 --enable-lua=yes \
47 --enable-ocaml=yes \
48 --enable-php=yes \
49 --enable-ruby=yes \
50 --enable-tcl=yes \
51 --enable-python=yes \
52 --disable-python23 \
53 --disable-python24 \
54 --disable-python25 \
55 --disable-python26 \
56 --disable-r \
57 --mandir=/usr/share/man $CONFIGURE_ARGS &&
58 make &&
59 make DESTDIR=$DESTDIR install
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
66 cp -a $install/usr/lib/*.so* $fs/usr/lib
67 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
68 cp -a $install/usr/lib/graphviz $fs/usr/lib/
69 rm -f $fs/usr/lib/graphviz/*.la
70 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
71 cp -a $install/usr/share/graphviz/smyrna $fs/usr/share/graphviz
72 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
73 cp -a $install/usr/bin $fs/usr
74 }