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