wok-next diff 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
line diff
     1.1 --- a/graphviz/receipt	Fri Jan 04 17:29:48 2019 +0200
     1.2 +++ b/graphviz/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="graphviz"
     1.7 -VERSION="2.40.1"
     1.8 +VERSION="2.44.0"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Automatic graph drawing"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,12 +10,13 @@
    1.13  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/graphviz.html"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="http://graphviz.org/pub/graphviz/stable/SOURCES/$TARBALL"
    1.17 +WGET_URL="https://www2.graphviz.org/Packages/stable/portable_source/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="automake xorg-dev expat-dev zlib-dev libpng-dev \
    1.20 -libjpeg-turbo-dev libgd-dev swig ocaml python-dev tcl-dev tk-dev librsvg-dev \
    1.21 -ruby-dev libcroco-dev util-linux-uuid-dev pango-dev libxml2-dev gdk-pixbuf-dev \
    1.22 -guile-dev gmp-dev pcre-dev perl-dev libtool" # php-dev lua-dev
    1.23 +BUILD_DEPENDS="automake expat-dev gc-dev gdk-pixbuf-dev gmp-dev guile-dev 
    1.24 +	libcroco-dev libgd-dev libjpeg-turbo-dev libpng-dev librsvg-dev 
    1.25 +	libtool libxml2-dev ocaml pango-dev pcre-dev perl-dev python-dev 
    1.26 +	ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev"
    1.27 +	# php-dev lua-dev
    1.28  SPLIT="\
    1.29  $PACKAGE-dev  $PACKAGE-doc    $PACKAGE-demo $PACKAGE-guile $PACKAGE-ocaml \
    1.30  $PACKAGE-perl $PACKAGE-python $PACKAGE-ruby $PACKAGE-tcl   $PACKAGE"
    1.31 @@ -24,18 +25,20 @@
    1.32  # FIXME: PHP and Lua support is temporarily disabled
    1.33  # (PHP broken itself, Lua breaks the Graphviz)
    1.34  
    1.35 -compile_rules() {
    1.36 +compile_rules()
    1.37 +{
    1.38  	sed -i '/ruby/s/1\.9/2.5/'       configure.ac
    1.39  	sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
    1.40 +
    1.41  	autoreconf &&
    1.42 -
    1.43  	./configure $CONFIGURE_ARGS &&
    1.44  	fix libtool &&
    1.45  	make &&
    1.46  	make install
    1.47  }
    1.48  
    1.49 -genpkg_rules() {
    1.50 +genpkg_rules()
    1.51 +{
    1.52  	case $PACKAGE in
    1.53  		*-dev)
    1.54  			copy @dev
    1.55 @@ -78,12 +81,12 @@
    1.56  		*-tcl)
    1.57  			copy tcl/ tcl8.6/ @rm
    1.58  			CAT="x-window|Tcl bindings"
    1.59 -			DEPENDS="graphviz libcairo expat glib libgd libltdl pango zlib"
    1.60 +			DEPENDS="expat glib graphviz libcairo libgd libltdl pango zlib"
    1.61  			;;
    1.62  		graphviz)
    1.63  			copy @std @rm
    1.64 -			DEPENDS="libcairo expat glib libgd libltdl librsvg pango libx11 \
    1.65 -			libxaw libxmu libxt zlib"
    1.66 +			DEPENDS="expat gc glib libcairo libgd libltdl librsvg libx11 \
    1.67 +				libxaw libxmu libxt pango zlib"
    1.68  			;;
    1.69  	esac
    1.70  	find $fs -type f -name '*.la' -delete