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