wok-6.x view graphviz/receipt @ rev 1477

conky slim: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 13:18:21 2008 +0000 (2008-10-04)
parents
children 4c400bd09135
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.graphviz.org/"
10 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
27 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
28 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
29 rm -f $fs/usr/lib/graphviz/*.la
30 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
31 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
32 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
33 cp -a $_pkg/usr/bin $fs/usr
34 }