wok-6.x view graphviz/receipt @ rev 10524
openvas-scanner: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:21:23 2011 +0200 (2011-05-25) |
parents | 7c5152c1c331 |
children | dd7daa308eb3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="2.26.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Automatic graph drawing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="zlib libpng jpeg expat"
9 #~ DEPENDS="xorg zlib libpng jpeg expat gtk+ libtool xorg-libXdamage xorg-libXss \
10 #~ libgd tk librsvg bzlib"
11 BUILD_DEPENDS="xorg expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev \
12 libgd-dev lua-dev swig ocaml python-dev tcl-dev librsvg-dev php-dev ruby-dev \
13 libcroco-dev php-cli"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://www.graphviz.org/"
16 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --disable-static \
25 --disable-gtk \
26 --disable-gtkgl \
27 --disable-gtkglext \
28 --with-pangocairo \
29 --with-x \
30 --with-gdk-pixbuf \
31 --with-ghostscript=no \
32 --without-gtk \
33 --without-gtkgl \
34 --without-gtkglext \
35 --without-glade \
36 --with-ortho=no \
37 --disable-sharp \
38 --disable-java \
39 --enable-guile=yes \
40 --with-rsvg=yes \
41 --with-png=yes \
42 --with-jpeg=yes \
43 --enable-lua=yes \
44 --enable-ocaml=yes \
45 --enable-php=yes \
46 --enable-ruby=yes \
47 --enable-tcl=yes \
48 --enable-python=yes \
49 --disable-python23 \
50 --disable-python24 \
51 --disable-python25 \
52 --disable-python26 \
53 --disable-r \
54 --mandir=/usr/share/man $CONFIGURE_ARGS &&
55 make &&
56 make DESTDIR=$PWD/_pkg install
57 }
59 # Rules to gen a SliTaz package suitable for Tazpkg.
60 genpkg_rules()
61 {
62 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
63 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
64 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
65 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
66 rm -f $fs/usr/lib/graphviz/*.la
67 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
68 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
69 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
70 cp -a $_pkg/usr/bin $fs/usr
71 }