wok view graphviz/receipt @ rev 15471

memtest/bootloader.S: fix dos exit (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 08 14:28:26 2013 +0000 (2013-11-08)
parents 763804e31997
children de49f29b101e
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.graphviz.org/"
10 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
12 DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre"
13 BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \
14 jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \
15 librsvg-dev php-dev ruby-dev libcroco-dev util-linux-uuid-dev \
16 pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev pcre-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' tclpkg/gv/Makefile*
23 ./configure --prefix=/usr \
24 --infodir=/usr/share/info \
25 --disable-static \
26 --disable-gtk \
27 --disable-gtkgl \
28 --disable-gtkglext \
29 --with-pangocairo \
30 --with-x \
31 --with-gdk-pixbuf \
32 --with-ghostscript=no \
33 --without-gtk \
34 --without-gtkgl \
35 --without-gtkglext \
36 --without-glade \
37 --with-ortho=no \
38 --disable-sharp \
39 --disable-java \
40 --enable-guile=yes \
41 --with-rsvg=yes \
42 --with-png=yes \
43 --with-jpeg=yes \
44 --enable-lua=yes \
45 --enable-ocaml=yes \
46 --enable-php=yes \
47 --enable-ruby=yes \
48 --enable-tcl=yes \
49 --enable-python=yes \
50 --disable-python23 \
51 --disable-python24 \
52 --disable-python25 \
53 --disable-python26 \
54 --disable-r \
55 --mandir=/usr/share/man $CONFIGURE_ARGS &&
56 make &&
57 make DESTDIR=$PWD/_pkg install
58 }
60 # Rules to gen a SliTaz package suitable for Tazpkg.
61 genpkg_rules()
62 {
63 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
64 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
65 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
66 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
67 rm -f $fs/usr/lib/graphviz/*.la
68 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
69 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
70 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
71 cp -a $_pkg/usr/bin $fs/usr
72 }