SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "graphviz"

# SliTaz package receipt.

PACKAGE="graphviz"
VERSION="2.28.0"
CATEGORY="x-window"
SHORT_DESC="Automatic graph drawing."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.graphviz.org/"
WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"

DEPENDS="zlib libpng jpeg expat libxml2 librsvg"
BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \
jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \
librsvg-dev php-dev ruby-dev libcroco-dev util-linux-ng-uuid-dev \
pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
        --infodir=/usr/share/info \
        --disable-static \
        --disable-gtk \
        --disable-gtkgl \
        --disable-gtkglext \
        --with-pangocairo \
        --with-x \
        --with-gdk-pixbuf \
        --with-ghostscript=no \
        --without-gtk \
        --without-gtkgl \
        --without-gtkglext \
        --without-glade \
        --with-ortho=no \
        --disable-sharp \
        --disable-java \
        --enable-guile=yes \
        --with-rsvg=yes \
        --with-png=yes \
        --with-jpeg=yes \
        --enable-lua=yes \
        --enable-ocaml=yes \
        --enable-php=yes \
        --enable-ruby=yes \
        --enable-tcl=yes \
        --enable-python=yes \
        --disable-python23 \
        --disable-python24 \
        --disable-python25 \
        --disable-python26 \
        --disable-r \
        --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/share/graphviz
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
    cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
    rm -f $fs/usr/lib/graphviz/*.la
    cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
    cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
    cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
    cp -a $_pkg/usr/bin $fs/usr
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)