wok-current view graphviz/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 1d2403d460ef |
children | 8db854a171ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="3.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Automatic graph drawing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Eclipse"
9 WEB_SITE="https://www.graphviz.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$TARBALL"
14 DEPENDS="expat gcc83-lib-base jpeg libgd libpng librsvg libxml2 pcre
15 util-linux-uuid zlib"
16 BUILD_DEPENDS="automake expat-dev gcc83 gdk-pixbuf-dev guile-dev
17 jpeg-dev libcroco-dev libgd-dev libpng-dev librsvg-dev
18 libxml2-dev lua-dev ocaml pango-dev pcre-dev php-cli
19 php-dev pkg-config py3k-dev ruby-dev sed swig tcl-dev
20 tiff-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
26 sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|' | sed '/^[0-9]/!d'| sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 mkdir -p $install/usr/share/graphviz/doc/pdf
34 ./autogen.sh &&
35 ./configure \
36 CC=gcc-83 \
37 CXX=g++-83 \
38 --prefix=/usr \
39 --docdir=/usr/share/graphviz/doc\
40 --infodir=/usr/share/info \
41 --mandir=/usr/share/man \
42 --enable-gtk=no \
43 --enable-gtkgl=no \
44 --enable-gtkglext=no \
45 --enable-guile=yes \
46 --enable-java=no \
47 --enable-lefty=yes \
48 --enable-lua=yes \
49 --enable-ocaml=yes \
50 --enable-php=yes \
51 --enable-python=yes \
52 --enable-r=no \
53 --enable-ruby=yes \
54 --enable-sharp=no \
55 --enable-static=no \
56 --enable-tcl=yes \
57 --with-gdk-pixbuf=yes \
58 --with-ghostscript=no \
59 --with-glade=no \
60 --with-gtk=no \
61 --with-gtkgl=no \
62 --with-gtkglext=no \
63 --with-jpeg=yes \
64 --with-ortho=yes \
65 --with-pangocairo=yes \
66 --with-png=yes \
67 --with-rsvg=yes \
68 --with-x=yes \
69 $CONFIGURE_ARGS &&
70 make &&
71 make install DESTDIR=$DESTDIR
72 }
74 # Rules to gen a SliTaz package suitable for Tazpkg.
75 genpkg_rules()
76 {
77 mkdir -p $fs/usr/lib
78 mkdir -p $fs/usr/share/graphviz
80 cp -a $install/usr/lib/*.so* $fs/usr/lib
81 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
82 cp -a $install/usr/lib/graphviz $fs/usr/lib/
83 rm -f $fs/usr/lib/graphviz/*.la
84 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
85 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
86 cp -a $install/usr/share/graphviz/gvpr $fs/usr/share/graphviz
87 cp -a $install/usr/bin $fs/usr
88 }