wok-stable view graphviz/receipt @ rev 12207

Up slitaz-boot-scripts (4.7.1) fix 256Mb ram case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 30 00:41:00 2012 +0200 (2012-03-30)
parents 3432bc680627
children 736957aea26c
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 DEPENDS="zlib libpng jpeg expat"
9 BUILD_DEPENDS="xorg expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev \
10 libgd-dev lua-dev swig ocaml python-dev tcl-dev librsvg-dev php-dev ruby-dev \
11 libcroco-dev php-cli util-linux-ng-uuid-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.graphviz.org/"
14 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --disable-static \
23 --disable-gtk \
24 --disable-gtkgl \
25 --disable-gtkglext \
26 --with-pangocairo \
27 --with-x \
28 --with-gdk-pixbuf \
29 --with-ghostscript=no \
30 --without-gtk \
31 --without-gtkgl \
32 --without-gtkglext \
33 --without-glade \
34 --with-ortho=no \
35 --disable-sharp \
36 --disable-java \
37 --enable-guile=yes \
38 --with-rsvg=yes \
39 --with-png=yes \
40 --with-jpeg=yes \
41 --enable-lua=yes \
42 --enable-ocaml=yes \
43 --enable-php=yes \
44 --enable-ruby=yes \
45 --enable-tcl=yes \
46 --enable-python=yes \
47 --disable-python23 \
48 --disable-python24 \
49 --disable-python25 \
50 --disable-python26 \
51 --disable-r \
52 --mandir=/usr/share/man $CONFIGURE_ARGS &&
53 make &&
54 make DESTDIR=$PWD/_pkg install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
61 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
62 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
63 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
64 rm -f $fs/usr/lib/graphviz/*.la
65 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
66 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
67 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
68 cp -a $_pkg/usr/bin $fs/usr
69 }