wok-next annotate graphviz/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
rev   line source
pascal@20169 1 # SliTaz package receipt v2.
pascal@1234 2
pascal@1234 3 PACKAGE="graphviz"
Hans-G?nter@21705 4 VERSION="2.44.0"
pascal@1234 5 CATEGORY="x-window"
al@20230 6 SHORT_DESC="Automatic graph drawing"
pascal@1234 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="Eclipse"
al@20230 9 WEB_SITE="http://www.graphviz.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/graphviz.html"
al@20230 11
pascal@1234 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21705 13 WGET_URL="https://www2.graphviz.org/Packages/stable/portable_source/$TARBALL"
pascal@1234 14
Hans-G?nter@21705 15 BUILD_DEPENDS="automake expat-dev gc-dev gdk-pixbuf-dev gmp-dev guile-dev
Hans-G?nter@21705 16 libcroco-dev libgd-dev libjpeg-turbo-dev libpng-dev librsvg-dev
Hans-G?nter@21705 17 libtool libxml2-dev ocaml pango-dev pcre-dev perl-dev python-dev
Hans-G?nter@21705 18 ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev"
Hans-G?nter@21705 19 # php-dev lua-dev
al@21020 20 SPLIT="\
al@21020 21 $PACKAGE-dev $PACKAGE-doc $PACKAGE-demo $PACKAGE-guile $PACKAGE-ocaml \
al@21020 22 $PACKAGE-perl $PACKAGE-python $PACKAGE-ruby $PACKAGE-tcl $PACKAGE"
al@20230 23 COOKOPTS="skip-log-errors"
pankso@12284 24
al@20230 25 # FIXME: PHP and Lua support is temporarily disabled
al@20230 26 # (PHP broken itself, Lua breaks the Graphviz)
al@20230 27
Hans-G?nter@21705 28 compile_rules()
Hans-G?nter@21705 29 {
al@20733 30 sed -i '/ruby/s/1\.9/2.5/' configure.ac
al@20230 31 sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
Hans-G?nter@21705 32
al@20230 33 autoreconf &&
al@20548 34 ./configure $CONFIGURE_ARGS &&
al@20573 35 fix libtool &&
al@20548 36 make &&
al@20548 37 make install
pascal@1234 38 }
pascal@1234 39
Hans-G?nter@21705 40 genpkg_rules()
Hans-G?nter@21705 41 {
pascal@20169 42 case $PACKAGE in
al@20230 43 *-dev)
al@20230 44 copy @dev
al@20230 45 SUGGESTED="guile-dev ocaml perl-dev python-dev ruby-dev tcl-dev"
al@20230 46 ;;
al@20230 47 *-doc)
al@20230 48 CAT="doc|documentation"
al@20230 49 copy doc/
al@20230 50 ;;
al@20230 51 *-demo)
al@20230 52 CAT="development|demo"
al@20230 53 copy demo/
al@20749 54 DEPENDS="graphviz perl python"
al@20230 55 ;;
al@20230 56 *-guile)
al@20230 57 copy guile/ @rm
al@20230 58 CAT="x-window|Guile bindings"
al@20749 59 DEPENDS="graphviz guile"
al@20230 60 ;;
al@20230 61 *-ocaml)
al@20230 62 copy ocaml/ @rm
al@20230 63 CAT="x-window|Ocaml bindings"
al@20749 64 DEPENDS="graphviz"
al@20230 65 ;;
al@20230 66 *-perl)
al@20230 67 copy perl/ perl5/ @rm
al@20230 68 CAT="x-window|Perl bindings"
al@20749 69 DEPENDS="graphviz perl perl-core"
al@20230 70 ;;
al@20230 71 *-python)
al@20230 72 copy python/ python2.7/ @rm
al@20230 73 CAT="x-window|Python bindings"
al@20749 74 DEPENDS="graphviz python"
al@20230 75 ;;
al@20230 76 *-ruby)
al@20230 77 copy ruby/ @rm
al@20230 78 CAT="x-window|Python bindings"
al@20749 79 DEPENDS="graphviz libruby"
al@20230 80 ;;
al@20230 81 *-tcl)
al@20230 82 copy tcl/ tcl8.6/ @rm
al@20230 83 CAT="x-window|Tcl bindings"
Hans-G?nter@21705 84 DEPENDS="expat glib graphviz libcairo libgd libltdl pango zlib"
al@20230 85 ;;
al@20230 86 graphviz)
al@20230 87 copy @std @rm
Hans-G?nter@21705 88 DEPENDS="expat gc glib libcairo libgd libltdl librsvg libx11 \
Hans-G?nter@21705 89 libxaw libxmu libxt pango zlib"
al@20230 90 ;;
pascal@20169 91 esac
al@20860 92 find $fs -type f -name '*.la' -delete
pascal@1234 93 }