wok-next view graphviz/receipt @ rev 4019
Up: xorg-xf86-video-sis (0.10.2)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Sep 03 23:17:36 2009 +0000 (2009-09-03) |
parents | dbf873bf74a8 |
children | 9f19aee613be |
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="2.20.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Automatic graph drawing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="xorg zlib libpng jpeg expat gtk+ libtool xorg-libXdamage"
9 BUILD_DEPENDS="xorg expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.graphviz.org/"
12 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
30 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
31 rm -f $fs/usr/lib/graphviz/*.la
32 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
33 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
34 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
35 cp -a $_pkg/usr/bin $fs/usr
36 }