wok-current annotate graphviz/receipt @ rev 1509
graphviz: typo in depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 18:50:11 2008 +0000 (2008-10-05) |
parents | 3d3c310a0f46 |
children | dbf873bf74a8 |
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@1509 | 8 DEPENDS="xorg zlib libpng jpeg" |
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 |