wok-current rev 1234

Add graphviz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 10:10:53 2008 +0000 (2008-08-11)
parents b4ffce711149
children 4ddb71955a8e
files graphviz-dev/receipt graphviz-doc/receipt graphviz/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/graphviz-dev/receipt	Mon Aug 11 10:10:53 2008 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="graphviz-dev"
     1.7 +VERSION="2.20.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Automatic graph drawing development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.graphviz.org/"
    1.12 +WANTED="graphviz"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/graphviz
    1.18 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/graphviz/*.la $fs/usr/lib/graphviz
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +}
    1.22 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/graphviz-doc/receipt	Mon Aug 11 10:10:53 2008 +0000
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="graphviz-doc"
     2.7 +VERSION="2.20.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Automatic graph drawing documentation files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://www.graphviz.org/"
    2.12 +WANTED="graphviz"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/share/graphviz
    2.18 +	cp -a $_pkg/usr/share/graphviz/doc $fs/usr/share/graphviz
    2.19 +}
    2.20 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/graphviz/receipt	Mon Aug 11 10:10:53 2008 +0000
     3.3 @@ -0,0 +1,35 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="graphviz"
     3.7 +VERSION="2.20.2"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="Automatic graph drawing."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://www.graphviz.org/"
    3.13 +WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
    3.14 +
    3.15 +# Rules to configure and make the package.
    3.16 +compile_rules()
    3.17 +{
    3.18 +	cd $src
    3.19 +	./configure --prefix=/usr --infodir=/usr/share/info \
    3.20 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    3.21 +	make
    3.22 +	make DESTDIR=$PWD/_pkg install
    3.23 +}
    3.24 +
    3.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.26 +genpkg_rules()
    3.27 +{
    3.28 +	mkdir -p $fs/usr/lib $fs/usr/share/graphviz
    3.29 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.30 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
    3.31 +	cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
    3.32 +	rm -f $fs/usr/lib/graphviz/*.la
    3.33 +	cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
    3.34 +	cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
    3.35 +	cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
    3.36 +	cp -a $_pkg/usr/bin $fs/usr
    3.37 +}
    3.38 +