wok-current view graphviz/receipt @ rev 13051

php, php-gd: Add freetype support
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 18 22:02:23 2012 +0200 (2012-06-18)
parents 5916a9e16833
children 763804e31997
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 ./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 }