wok annotate graphviz/receipt @ rev 2636

Up: slitaz-base-files (change release string) + slitaz-doc for 2.0
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 19:59:30 2009 +0200 (2009-04-16)
parents dbf873bf74a8
children 9f19aee613be
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@2516 8 DEPENDS="xorg zlib libpng jpeg expat gtk+ libtool xorg-libXdamage"
pascal@1509 9 BUILD_DEPENDS="xorg expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev"
pascal@1234 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1234 11 WEB_SITE="http://www.graphviz.org/"
pascal@1234 12 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
pascal@1234 13
pascal@1234 14 # Rules to configure and make the package.
pascal@1234 15 compile_rules()
pascal@1234 16 {
pascal@1234 17 cd $src
pascal@1234 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1491 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1491 20 make &&
pascal@1234 21 make DESTDIR=$PWD/_pkg install
pascal@1234 22 }
pascal@1234 23
pascal@1234 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1234 25 genpkg_rules()
pascal@1234 26 {
pascal@1234 27 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
pascal@1234 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1234 29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
pascal@1234 30 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
pascal@1234 31 rm -f $fs/usr/lib/graphviz/*.la
pascal@1234 32 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
pascal@1234 33 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
pascal@1234 34 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
pascal@1234 35 cp -a $_pkg/usr/bin $fs/usr
pascal@1234 36 }
pascal@1234 37