wok rev 22361

updated graphviz (2.28.0 -> 2.42.3)
author Hans-G?nter Theisgen
date Thu Nov 21 13:37:52 2019 +0100 (2019-11-21)
parents 4953c6775507
children 37ffcac02372
files graphviz/receipt
line diff
     1.1 --- a/graphviz/receipt	Thu Nov 21 11:46:03 2019 +0100
     1.2 +++ b/graphviz/receipt	Thu Nov 21 13:37:52 2019 +0100
     1.3 @@ -1,60 +1,69 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="graphviz"
     1.7 -VERSION="2.28.0"
     1.8 +VERSION="2.42.3"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Automatic graph drawing."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="Eclipse"
    1.13 +WEB_SITE="https://www.graphviz.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.graphviz.org/"
    1.17 -WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
    1.18 +WGET_URL="https://graphviz.gitlab.io/pub/$PACKAGE/stable/SOURCES/$PACKAGE.tar.gz"
    1.19  
    1.20 -DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre"
    1.21 -BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \
    1.22 -jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \
    1.23 -librsvg-dev php-dev ruby-dev libcroco-dev util-linux-uuid-dev \
    1.24 -pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev pcre-dev"
    1.25 +DEPENDS="expat gcc83-lib-base jpeg libpng librsvg libxml2 pcre 
    1.26 +	util-linux-uuid zlib"
    1.27 +BUILD_DEPENDS="gcc83 expat-dev gdk-pixbuf-dev guile-dev jpeg-dev 
    1.28 +	libcroco-dev libgd-dev libpng-dev librsvg-dev libxml2-dev 
    1.29 +	lua-dev ocaml pango-dev pcre-dev php-cli php-dev pkg-config 
    1.30 +	python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev 
    1.31 +	xorg-dev zlib-dev"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	cd $src
    1.37 -	sed -i 's/.*php5.*/&\n	sed -i "s|char .type_name;|const \&|" gv_php.cpp/' tclpkg/gv/Makefile*
    1.38 -	sed -i 's/.*PHPWRITE.*/    TSRMLS_FETCH();\n&/' tclpkg/gv/gv_php_init.c
    1.39 -	./configure --prefix=/usr \
    1.40 -		--infodir=/usr/share/info \
    1.41 -		--disable-static \
    1.42 -		--disable-gtk \
    1.43 -		--disable-gtkgl \
    1.44 -		--disable-gtkglext \
    1.45 -		--with-pangocairo \
    1.46 -		--with-x \
    1.47 -		--with-gdk-pixbuf \
    1.48 -		--with-ghostscript=no \
    1.49 -		--without-gtk \
    1.50 -		--without-gtkgl \
    1.51 -		--without-gtkglext \
    1.52 -		--without-glade \
    1.53 -		--with-ortho=no \
    1.54 -		--disable-sharp \
    1.55 -		--disable-java \
    1.56 -		--enable-guile=yes \
    1.57 -		--with-rsvg=yes \
    1.58 -		--with-png=yes \
    1.59 -		--with-jpeg=yes \
    1.60 -		--enable-lua=yes \
    1.61 -		--enable-ocaml=yes \
    1.62 -		--enable-php=yes \
    1.63 -		--enable-ruby=yes \
    1.64 -		--enable-tcl=yes \
    1.65 -		--enable-python=yes \
    1.66 -		--disable-python23 \
    1.67 -		--disable-python24 \
    1.68 -		--disable-python25 \
    1.69 -		--disable-python26 \
    1.70 -		--disable-r \
    1.71 -		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.72 +	sed -i 's/.*php5.*/&\n	sed -i "s|char .type_name;|const \&|" gv_php.cpp/' \
    1.73 +		tclpkg/gv/Makefile*
    1.74 +	sed -i 's/.*PHPWRITE.*/    TSRMLS_FETCH();\n&/' \
    1.75 +		tclpkg/gv/gv_php_init.c
    1.76 +
    1.77 +	./configure				\
    1.78 +		CC=gcc-83			\
    1.79 +		CXX=g++-83			\
    1.80 +		--prefix=/usr			\
    1.81 +		--infodir=/usr/share/info	\
    1.82 +		--disable-static		\
    1.83 +		--disable-gtk			\
    1.84 +		--disable-gtkgl			\
    1.85 +		--disable-gtkglext		\
    1.86 +		--with-pangocairo		\
    1.87 +		--with-x			\
    1.88 +		--with-gdk-pixbuf		\
    1.89 +		--with-ghostscript=no		\
    1.90 +		--without-gtk			\
    1.91 +		--without-gtkgl			\
    1.92 +		--without-gtkglext		\
    1.93 +		--without-glade			\
    1.94 +		--with-ortho=no			\
    1.95 +		--disable-sharp			\
    1.96 +		--disable-java			\
    1.97 +		--enable-guile=yes		\
    1.98 +		--with-rsvg=yes			\
    1.99 +		--with-png=yes			\
   1.100 +		--with-jpeg=yes			\
   1.101 +		--enable-lua=yes		\
   1.102 +		--enable-ocaml=yes		\
   1.103 +		--enable-php=yes		\
   1.104 +		--enable-ruby=yes		\
   1.105 +		--enable-tcl=yes		\
   1.106 +		--enable-python=yes		\
   1.107 +		--disable-python23		\
   1.108 +		--disable-python24		\
   1.109 +		--disable-python25		\
   1.110 +		--disable-python26		\
   1.111 +		--disable-r			\
   1.112 +		--mandir=/usr/share/man		\
   1.113 +		$CONFIGURE_ARGS &&
   1.114  	make &&
   1.115  	make DESTDIR=$DESTDIR install
   1.116  }
   1.117 @@ -62,13 +71,15 @@
   1.118  # Rules to gen a SliTaz package suitable for Tazpkg.
   1.119  genpkg_rules()
   1.120  {
   1.121 -	mkdir -p $fs/usr/lib $fs/usr/share/graphviz
   1.122 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   1.123 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
   1.124 -	cp -a $install/usr/lib/graphviz $fs/usr/lib/
   1.125 +	mkdir -p $fs/usr/lib
   1.126 +	mkdir -p $fs/usr/share/graphviz
   1.127 +
   1.128 +	cp -a $install/usr/lib/*.so*			$fs/usr/lib
   1.129 +	cp -a $install/usr/lib/pkgconfig		$fs/usr/lib/
   1.130 +	cp -a $install/usr/lib/graphviz			$fs/usr/lib/
   1.131  	rm -f $fs/usr/lib/graphviz/*.la
   1.132 -	cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
   1.133 -	cp -a $install/usr/share/graphviz/smyrna $fs/usr/share/graphviz
   1.134 -	cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
   1.135 -	cp -a $install/usr/bin $fs/usr
   1.136 +	cp -a $install/usr/share/graphviz/lefty		$fs/usr/share/graphviz
   1.137 +	cp -a $install/usr/share/graphviz/smyrna	$fs/usr/share/graphviz
   1.138 +	cp -a $install/usr/share/graphviz/graphs	$fs/usr/share/graphviz
   1.139 +	cp -a $install/usr/bin				$fs/usr
   1.140  }