wok-6.x view graphviz/receipt @ rev 6705
Up: libsndfile to 1.0.23.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 22:01:19 2010 +0000 (2010-10-13) |
parents | 857fef7512ec |
children | 6ff9427d6fc7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="graphviz"
4 VERSION="2.26.3"
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 xorg-libXss \
9 libgd tk librsvg bzlib"
10 BUILD_DEPENDS="xorg expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev \
11 libgd-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.graphviz.org/"
14 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
32 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
33 rm -f $fs/usr/lib/graphviz/*.la
34 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
35 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
36 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
37 cp -a $_pkg/usr/bin $fs/usr
38 }