wok view graphviz/receipt @ rev 15600

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