wok annotate graphviz/receipt @ rev 1239

Add: claws-mail, an another mail client.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Aug 11 23:40:37 2008 +0200 (2008-08-11)
parents
children 4c400bd09135
rev   line source
pascal@1234 1 # SliTaz package receipt.
pascal@1234 2
pascal@1234 3 PACKAGE="graphviz"
pascal@1234 4 VERSION="2.20.2"
pascal@1234 5 CATEGORY="x-window"
pascal@1234 6 SHORT_DESC="Automatic graph drawing."
pascal@1234 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1234 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1234 9 WEB_SITE="http://www.graphviz.org/"
pascal@1234 10 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
pascal@1234 11
pascal@1234 12 # Rules to configure and make the package.
pascal@1234 13 compile_rules()
pascal@1234 14 {
pascal@1234 15 cd $src
pascal@1234 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1234 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1234 18 make
pascal@1234 19 make DESTDIR=$PWD/_pkg install
pascal@1234 20 }
pascal@1234 21
pascal@1234 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1234 23 genpkg_rules()
pascal@1234 24 {
pascal@1234 25 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
pascal@1234 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1234 27 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
pascal@1234 28 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
pascal@1234 29 rm -f $fs/usr/lib/graphviz/*.la
pascal@1234 30 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
pascal@1234 31 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
pascal@1234 32 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
pascal@1234 33 cp -a $_pkg/usr/bin $fs/usr
pascal@1234 34 }
pascal@1234 35