wok annotate graphviz/receipt @ rev 11781

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