wok annotate graphviz/receipt @ rev 20696

updated aaphoto (0.41 -> 0.45)
author Hans-G?nter Theisgen
date Tue Feb 05 15:53:46 2019 +0100 (2019-02-05)
parents de49f29b101e
children dfabcdfe042c
rev   line source
pascal@1234 1 # SliTaz package receipt.
pascal@1234 2
pascal@1234 3 PACKAGE="graphviz"
samuel_trassare@11786 4 VERSION="2.28.0"
pascal@1234 5 CATEGORY="x-window"
pascal@1234 6 SHORT_DESC="Automatic graph drawing."
pascal@1234 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="Eclipse"
pascal@1234 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1234 10 WEB_SITE="http://www.graphviz.org/"
pascal@1234 11 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
pascal@1234 12
pankso@12539 13 DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre"
pankso@12537 14 BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \
pankso@12537 15 jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \
pankso@12538 16 librsvg-dev php-dev ruby-dev libcroco-dev util-linux-uuid-dev \
pankso@12539 17 pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev pcre-dev"
pankso@12284 18
pascal@1234 19 # Rules to configure and make the package.
pascal@1234 20 compile_rules()
pascal@1234 21 {
pascal@1234 22 cd $src
pascal@13773 23 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' tclpkg/gv/Makefile*
pascal@15730 24 sed -i 's/.*PHPWRITE.*/ TSRMLS_FETCH();\n&/' tclpkg/gv/gv_php_init.c
erjo@8705 25 ./configure --prefix=/usr \
erjo@8705 26 --infodir=/usr/share/info \
erjo@8705 27 --disable-static \
erjo@8705 28 --disable-gtk \
erjo@8705 29 --disable-gtkgl \
erjo@8705 30 --disable-gtkglext \
erjo@8705 31 --with-pangocairo \
erjo@8705 32 --with-x \
erjo@8705 33 --with-gdk-pixbuf \
erjo@8705 34 --with-ghostscript=no \
erjo@8705 35 --without-gtk \
erjo@8705 36 --without-gtkgl \
erjo@8705 37 --without-gtkglext \
erjo@8705 38 --without-glade \
erjo@8705 39 --with-ortho=no \
erjo@8705 40 --disable-sharp \
erjo@8705 41 --disable-java \
erjo@8705 42 --enable-guile=yes \
erjo@8705 43 --with-rsvg=yes \
erjo@8705 44 --with-png=yes \
erjo@8705 45 --with-jpeg=yes \
erjo@8705 46 --enable-lua=yes \
erjo@8705 47 --enable-ocaml=yes \
erjo@8705 48 --enable-php=yes \
erjo@8705 49 --enable-ruby=yes \
erjo@8705 50 --enable-tcl=yes \
erjo@8705 51 --enable-python=yes \
erjo@8705 52 --disable-python23 \
erjo@8705 53 --disable-python24 \
erjo@8705 54 --disable-python25 \
erjo@8705 55 --disable-python26 \
erjo@8705 56 --disable-r \
erjo@8705 57 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1491 58 make &&
pascal@15600 59 make DESTDIR=$DESTDIR install
pascal@1234 60 }
pascal@1234 61
pascal@1234 62 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1234 63 genpkg_rules()
pascal@1234 64 {
pascal@1234 65 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
pascal@15600 66 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15600 67 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
pascal@15600 68 cp -a $install/usr/lib/graphviz $fs/usr/lib/
pascal@1234 69 rm -f $fs/usr/lib/graphviz/*.la
pascal@15600 70 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
pascal@15600 71 cp -a $install/usr/share/graphviz/smyrna $fs/usr/share/graphviz
pascal@15600 72 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
pascal@15600 73 cp -a $install/usr/bin $fs/usr
pascal@1234 74 }