wok-next rev 20169
graphviz: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 19:07:45 2017 +0100 (2017-11-01) |
parents | 64305105ab25 |
children | 2ecf6870b4af |
files | graphviz-dev/receipt graphviz-doc/receipt graphviz/receipt |
line diff
1.1 --- a/graphviz-dev/receipt Wed Nov 01 18:52:52 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,19 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="graphviz-dev" 1.7 -VERSION="2.28.0" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Automatic graph drawing development files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="Eclipse" 1.12 -WEB_SITE="http://www.graphviz.org/" 1.13 -WANTED="graphviz" 1.14 - 1.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 -genpkg_rules() 1.17 -{ 1.18 - mkdir -p $fs/usr/lib/graphviz 1.19 - cp -a $install/usr/lib/*a $fs/usr/lib 1.20 - cp -a $install/usr/lib/graphviz/*.la $fs/usr/lib/graphviz 1.21 - cp -a $install/usr/include $fs/usr 1.22 -}
2.1 --- a/graphviz-doc/receipt Wed Nov 01 18:52:52 2017 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,17 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="graphviz-doc" 2.7 -VERSION="2.28.0" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="Automatic graph drawing documentation files." 2.10 -MAINTAINER="pascal.bellard@slitaz.org" 2.11 -LICENSE="Eclipse" 2.12 -WEB_SITE="http://www.graphviz.org/" 2.13 -WANTED="graphviz" 2.14 - 2.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 -genpkg_rules() 2.17 -{ 2.18 - mkdir -p $fs/usr/share/graphviz 2.19 - cp -a $install/usr/share/graphviz/doc $fs/usr/share/graphviz 2.20 -}
3.1 --- a/graphviz/receipt Wed Nov 01 18:52:52 2017 +0100 3.2 +++ b/graphviz/receipt Wed Nov 01 19:07:45 2017 +0100 3.3 @@ -1,4 +1,4 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="graphviz" 3.8 VERSION="2.28.0" 3.9 @@ -10,16 +10,15 @@ 3.10 WEB_SITE="http://www.graphviz.org/" 3.11 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL" 3.12 3.13 -DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre" 3.14 BUILD_DEPENDS="xorg-dev expat-dev zlib-dev pkg-config libpng-dev \ 3.15 jpeg-dev libgd-dev lua-dev swig ocaml python-dev tcl-dev tk-dev \ 3.16 librsvg-dev php-dev ruby-dev libcroco-dev util-linux-uuid-dev \ 3.17 pango-dev libxml2-dev php-cli gdk-pixbuf-dev guile-dev pcre-dev" 3.18 +SPLIT="graphviz graphviz-dev graphviz-doc" 3.19 3.20 # Rules to configure and make the package. 3.21 compile_rules() 3.22 { 3.23 - cd $src 3.24 sed -i 's/.*php5.*/&\n sed -i "s|char .type_name;|const \&|" gv_php.cpp/' tclpkg/gv/Makefile* 3.25 sed -i 's/.*PHPWRITE.*/ TSRMLS_FETCH();\n&/' tclpkg/gv/gv_php_init.c 3.26 ./configure --prefix=/usr \ 3.27 @@ -62,13 +61,30 @@ 3.28 # Rules to gen a SliTaz package suitable for Tazpkg. 3.29 genpkg_rules() 3.30 { 3.31 - mkdir -p $fs/usr/lib $fs/usr/share/graphviz 3.32 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.33 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib/ 3.34 - cp -a $install/usr/lib/graphviz $fs/usr/lib/ 3.35 - rm -f $fs/usr/lib/graphviz/*.la 3.36 - cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz 3.37 - cp -a $install/usr/share/graphviz/smyrna $fs/usr/share/graphviz 3.38 - cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz 3.39 - cp -a $install/usr/bin $fs/usr 3.40 + case $PACKAGE in 3.41 + graphviz) 3.42 + DEPENDS="zlib libpng jpeg expat libxml2 librsvg util-linux-uuid pcre" 3.43 + mkdir -p $fs/usr/lib $fs/usr/share/graphviz 3.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.45 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib/ 3.46 + cp -a $install/usr/lib/graphviz $fs/usr/lib/ 3.47 + rm -f $fs/usr/lib/graphviz/*.la 3.48 + cp -a $install/usr/share/graphviz/lefty $fs/usr/share/graphviz 3.49 + cp -a $install/usr/share/graphviz/smyrna $fs/usr/share/graphviz 3.50 + cp -a $install/usr/share/graphviz/graphs $fs/usr/share/graphviz 3.51 + cp -a $install/usr/bin $fs/usr 3.52 + ;; 3.53 + graphviz-dev) 3.54 + CAT="development|Automatic graph drawing development files." 3.55 + mkdir -p $fs/usr/lib/graphviz 3.56 + cp -a $install/usr/lib/*a $fs/usr/lib 3.57 + cp -a $install/usr/lib/graphviz/*.la $fs/usr/lib/graphviz 3.58 + cp -a $install/usr/include $fs/usr 3.59 + ;; 3.60 + graphviz-doc) 3.61 + CAT="development|Automatic graph drawing documentation files." 3.62 + mkdir -p $fs/usr/share/graphviz 3.63 + cp -a $install/usr/share/graphviz/doc $fs/usr/share/graphviz 3.64 + ;; 3.65 + esac 3.66 }