wok annotate graphviz/receipt @ rev 23577

updated python-wcwidth (0.1.6 -> 0.1.9)
author Hans-G?nter Theisgen
date Tue Apr 07 13:29:05 2020 +0100 (2020-04-07)
parents d32ebfceb732
children dc0f7fd1ff7d
rev   line source
pascal@1234 1 # SliTaz package receipt.
pascal@1234 2
pascal@1234 3 PACKAGE="graphviz"
pascal@22368 4 VERSION="2.42.2"
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"
pascal@22368 12 WGET_URL="https://gitlab.com/graphviz/graphviz/-/archive/stable_release_$VERSION/graphviz-stable_release_$VERSION.tar.gz"
pascal@1234 13
Hans-G?nter@22361 14 DEPENDS="expat gcc83-lib-base jpeg libpng librsvg libxml2 pcre
Hans-G?nter@22361 15 util-linux-uuid zlib"
Hans-G?nter@22361 16 BUILD_DEPENDS="gcc83 expat-dev gdk-pixbuf-dev guile-dev jpeg-dev
Hans-G?nter@22361 17 libcroco-dev libgd-dev libpng-dev librsvg-dev libxml2-dev
Hans-G?nter@22361 18 lua-dev ocaml pango-dev pcre-dev php-cli php-dev pkg-config
Hans-G?nter@22361 19 python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev
pascal@22368 20 xorg-dev zlib-dev automake sed"
pankso@12284 21
pascal@1234 22 # Rules to configure and make the package.
pascal@1234 23 compile_rules()
pascal@1234 24 {
Hans-G?nter@22361 25 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' \
Hans-G?nter@22361 26 tclpkg/gv/Makefile*
Hans-G?nter@22361 27 sed -i 's/.*PHPWRITE.*/ TSRMLS_FETCH();\n&/' \
Hans-G?nter@22361 28 tclpkg/gv/gv_php_init.c
Hans-G?nter@22361 29
pascal@22368 30 ./autogen.sh
Hans-G?nter@22361 31 ./configure \
Hans-G?nter@22361 32 CC=gcc-83 \
Hans-G?nter@22361 33 CXX=g++-83 \
Hans-G?nter@22361 34 --prefix=/usr \
Hans-G?nter@22361 35 --infodir=/usr/share/info \
Hans-G?nter@22361 36 --disable-static \
Hans-G?nter@22361 37 --disable-gtk \
Hans-G?nter@22361 38 --disable-gtkgl \
Hans-G?nter@22361 39 --disable-gtkglext \
Hans-G?nter@22361 40 --with-pangocairo \
Hans-G?nter@22361 41 --with-x \
Hans-G?nter@22361 42 --with-gdk-pixbuf \
Hans-G?nter@22361 43 --with-ghostscript=no \
Hans-G?nter@22361 44 --without-gtk \
Hans-G?nter@22361 45 --without-gtkgl \
Hans-G?nter@22361 46 --without-gtkglext \
Hans-G?nter@22361 47 --without-glade \
Hans-G?nter@22361 48 --with-ortho=no \
Hans-G?nter@22361 49 --disable-sharp \
Hans-G?nter@22361 50 --disable-java \
Hans-G?nter@22361 51 --enable-guile=yes \
Hans-G?nter@22361 52 --with-rsvg=yes \
Hans-G?nter@22361 53 --with-png=yes \
Hans-G?nter@22361 54 --with-jpeg=yes \
Hans-G?nter@22361 55 --enable-lua=yes \
Hans-G?nter@22361 56 --enable-ocaml=yes \
Hans-G?nter@22361 57 --enable-php=yes \
Hans-G?nter@22361 58 --enable-ruby=yes \
Hans-G?nter@22361 59 --enable-tcl=yes \
Hans-G?nter@22361 60 --enable-python=yes \
Hans-G?nter@22361 61 --disable-python23 \
Hans-G?nter@22361 62 --disable-python24 \
Hans-G?nter@22361 63 --disable-python25 \
Hans-G?nter@22361 64 --disable-python26 \
Hans-G?nter@22361 65 --disable-r \
Hans-G?nter@22361 66 --mandir=/usr/share/man \
Hans-G?nter@22361 67 $CONFIGURE_ARGS &&
pascal@1491 68 make &&
pascal@15600 69 make DESTDIR=$DESTDIR install
pascal@1234 70 }
pascal@1234 71
pascal@1234 72 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1234 73 genpkg_rules()
pascal@1234 74 {
Hans-G?nter@22361 75 mkdir -p $fs/usr/lib
Hans-G?nter@22361 76 mkdir -p $fs/usr/share/graphviz
Hans-G?nter@22361 77
Hans-G?nter@22361 78 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22361 79 cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
Hans-G?nter@22361 80 cp -a $install/usr/lib/graphviz $fs/usr/lib/
pascal@1234 81 rm -f $fs/usr/lib/graphviz/*.la
Hans-G?nter@22361 82 cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz
pascal@22425 83 cp -a $install/usr/share/graphviz/gvpr $fs/usr/share/graphviz
Hans-G?nter@22361 84 cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz
Hans-G?nter@22361 85 cp -a $install/usr/bin $fs/usr
pascal@1234 86 }