
Receipt for package "graphviz"
# SliTaz package receipt. PACKAGE="graphviz" VERSION="3.0.0" CATEGORY="x-window" SHORT_DESC="Automatic graph drawing." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Eclipse" WEB_SITE="https://www.graphviz.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$TARBALL" DEPENDS="expat jpeg libgd libpng librsvg libxml2 pcre util-linux-uuid zlib" BUILD_DEPENDS="automake expat-dev gdk-pixbuf-dev guile-dev jpeg-dev libgd-dev libpng-dev librsvg-dev libxml2-dev lua-dev ocaml pango-dev pcre-dev php-cli php-dev pkg-config py3k-dev ruby-dev sed swig tcl-dev tiff-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev" # libcroco (unmaintained) HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|' | sed '/^[0-9]/!d'| sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { mkdir -p $install/usr/share/graphviz/doc/pdf ./autogen.sh && ./configure \ --prefix=/usr \ --docdir=/usr/share/graphviz/doc\ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --enable-gtk=no \ --enable-gtkgl=no \ --enable-gtkglext=no \ --enable-guile=yes \ --enable-java=no \ --enable-lefty=yes \ --enable-lua=yes \ --enable-ocaml=yes \ --enable-php=yes \ --enable-python=yes \ --enable-r=no \ --enable-ruby=yes \ --enable-sharp=no \ --enable-static=no \ --enable-tcl=yes \ --with-gdk-pixbuf=yes \ --with-ghostscript=no \ --with-glade=no \ --with-gtk=no \ --with-gtkgl=no \ --with-gtkglext=no \ --with-jpeg=yes \ --with-ortho=yes \ --with-pangocairo=yes \ --with-png=yes \ --with-rsvg=yes \ --with-x=yes \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $fs/usr/share/graphviz cp -a $install/usr/lib*/*.so* $fs/usr/lib cp -a $install/usr/lib*/pkgconfig $fs/usr/lib/ cp -a $install/usr/lib*/graphviz $fs/usr/lib/ rm -f $fs/usr/lib/graphviz/*.la cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz cp -a $install/usr/share/graphviz/gvpr $fs/usr/share/graphviz cp -a $install/usr/bin $fs/usr }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)