wok-current annotate graphviz/receipt @ rev 5437

Up: pkg-config (0.23)
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 05 02:55:11 2010 +0000 (2010-05-05)
parents 9f19aee613be
children 857fef7512ec
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@5029 8 DEPENDS="xorg zlib libpng jpeg expat gtk+ libtool xorg-libXdamage xorg-libXss \
pascal@5029 9 libgd tk librsvg bzlib"
pascal@1509 10 BUILD_DEPENDS="xorg expat-dev zlib-dev pkg-config gtk+-dev libpng-dev jpeg-dev"
pascal@1234 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1234 12 WEB_SITE="http://www.graphviz.org/"
pascal@1234 13 WGET_URL="${WEB_SITE}pub/$PACKAGE/ARCHIVE/$TARBALL"
pascal@1234 14
pascal@1234 15 # Rules to configure and make the package.
pascal@1234 16 compile_rules()
pascal@1234 17 {
pascal@1234 18 cd $src
pascal@1234 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1491 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1491 21 make &&
pascal@1234 22 make DESTDIR=$PWD/_pkg install
pascal@1234 23 }
pascal@1234 24
pascal@1234 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1234 26 genpkg_rules()
pascal@1234 27 {
pascal@1234 28 mkdir -p $fs/usr/lib $fs/usr/share/graphviz
pascal@1234 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1234 30 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib/
pascal@1234 31 cp -a $_pkg/usr/lib/graphviz $fs/usr/lib/
pascal@1234 32 rm -f $fs/usr/lib/graphviz/*.la
pascal@1234 33 cp -a $_pkg/usr/share/graphviz/lefty $fs/usr/share/graphviz
pascal@1234 34 cp -a $_pkg/usr/share/graphviz/smyrna $fs/usr/share/graphviz
pascal@1234 35 cp -a $_pkg/usr/share/graphviz/graphs $fs/usr/share/graphviz
pascal@1234 36 cp -a $_pkg/usr/bin $fs/usr
pascal@1234 37 }
pascal@1234 38