wok-6.x view graphviz/receipt @ rev 12328

Up: xfsprogs to 3.1.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 08:13:31 2012 +0000 (2012-04-19)
parents 9eab57e3dd30
children c7fce17ac2e2
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 librsvg"
13 BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev \
14 libgd-dev lua-dev swig ocaml python-dev tcl-dev librsvg-dev php-dev ruby-dev \
15 libcroco-dev php-cli util-linux-ng-uuid-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --disable-static \
24 --disable-gtk \
25 --disable-gtkgl \
26 --disable-gtkglext \
27 --with-pangocairo \
28 --with-x \
29 --with-gdk-pixbuf \
30 --with-ghostscript=no \
31 --without-gtk \
32 --without-gtkgl \
33 --without-gtkglext \
34 --without-glade \
35 --with-ortho=no \
36 --disable-sharp \
37 --disable-java \
38 --enable-guile=yes \
39 --with-rsvg=yes \
40 --with-png=yes \
41 --with-jpeg=yes \
42 --enable-lua=yes \
43 --enable-ocaml=yes \
44 --enable-php=yes \
45 --enable-ruby=yes \
46 --enable-tcl=yes \
47 --enable-python=yes \
48 --disable-python23 \
49 --disable-python24 \
50 --disable-python25 \
51 --disable-python26 \
52 --disable-r \
53 --mandir=/usr/share/man $CONFIGURE_ARGS &&
54 make &&
55 make DESTDIR=$PWD/_pkg install
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
62 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
63 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
64 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
65 rm -f $fs/usr/lib/graphviz/*.la
66 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
67 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
68 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
69 cp -a $_pkg/usr/bin $fs/usr
70 }