wok-6.x annotate graphviz/receipt @ rev 15258
suricata: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 09:54:56 2013 +0000 (2013-09-24) |
parents | 763804e31997 |
children | de49f29b101e |
rev | line source |
---|---|
pascal@1234 | 1 # SliTaz package receipt. |
pascal@1234 | 2 |
pascal@1234 | 3 PACKAGE="graphviz" |
samuel_trassare@11786 | 4 VERSION="2.28.0" |
pascal@1234 | 5 CATEGORY="x-window" |
pascal@1234 | 6 SHORT_DESC="Automatic graph drawing." |
pascal@1234 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1234 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1234 | 9 WEB_SITE="http://www.graphviz.org/" |
pascal@1234 | 10 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL" |
pascal@1234 | 11 |
pankso@12539 | 12 DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre" |
pankso@12537 | 13 BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \ |
pankso@12537 | 14 jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \ |
pankso@12538 | 15 librsvg-dev php-dev ruby-dev libcroco-dev util-linux-uuid-dev \ |
pankso@12539 | 16 pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev pcre-dev" |
pankso@12284 | 17 |
pascal@1234 | 18 # Rules to configure and make the package. |
pascal@1234 | 19 compile_rules() |
pascal@1234 | 20 { |
pascal@1234 | 21 cd $src |
pascal@13773 | 22 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' tclpkg/gv/Makefile* |
erjo@8705 | 23 ./configure --prefix=/usr \ |
erjo@8705 | 24 --infodir=/usr/share/info \ |
erjo@8705 | 25 --disable-static \ |
erjo@8705 | 26 --disable-gtk \ |
erjo@8705 | 27 --disable-gtkgl \ |
erjo@8705 | 28 --disable-gtkglext \ |
erjo@8705 | 29 --with-pangocairo \ |
erjo@8705 | 30 --with-x \ |
erjo@8705 | 31 --with-gdk-pixbuf \ |
erjo@8705 | 32 --with-ghostscript=no \ |
erjo@8705 | 33 --without-gtk \ |
erjo@8705 | 34 --without-gtkgl \ |
erjo@8705 | 35 --without-gtkglext \ |
erjo@8705 | 36 --without-glade \ |
erjo@8705 | 37 --with-ortho=no \ |
erjo@8705 | 38 --disable-sharp \ |
erjo@8705 | 39 --disable-java \ |
erjo@8705 | 40 --enable-guile=yes \ |
erjo@8705 | 41 --with-rsvg=yes \ |
erjo@8705 | 42 --with-png=yes \ |
erjo@8705 | 43 --with-jpeg=yes \ |
erjo@8705 | 44 --enable-lua=yes \ |
erjo@8705 | 45 --enable-ocaml=yes \ |
erjo@8705 | 46 --enable-php=yes \ |
erjo@8705 | 47 --enable-ruby=yes \ |
erjo@8705 | 48 --enable-tcl=yes \ |
erjo@8705 | 49 --enable-python=yes \ |
erjo@8705 | 50 --disable-python23 \ |
erjo@8705 | 51 --disable-python24 \ |
erjo@8705 | 52 --disable-python25 \ |
erjo@8705 | 53 --disable-python26 \ |
erjo@8705 | 54 --disable-r \ |
erjo@8705 | 55 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1491 | 56 make && |
pascal@1234 | 57 make DESTDIR=$PWD/_pkg install |
pascal@1234 | 58 } |
pascal@1234 | 59 |
pascal@1234 | 60 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1234 | 61 genpkg_rules() |
pascal@1234 | 62 { |
pascal@1234 | 63 mkdir -p $fs/usr/lib $fs/usr/share/graphviz |
pascal@1234 | 64 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1234 | 65 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/ |
pascal@1234 | 66 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/ |
pascal@1234 | 67 rm -f $fs/usr/lib/graphviz/*.la |
pascal@1234 | 68 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz |
pascal@1234 | 69 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz |
pascal@1234 | 70 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz |
pascal@1234 | 71 cp -a $_pkg/usr/bin $fs/usr |
pascal@1234 | 72 } |
pascal@1234 | 73 |