* Graphviz 2.2.
svn path=/nixpkgs/trunk/; revision=2382
This commit is contained in:
parent
209037e64f
commit
579b8893a0
12
pkgs/tools/graphics/graphviz/builder.sh
Normal file
12
pkgs/tools/graphics/graphviz/builder.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
configureFlags="\
|
||||||
|
--with-pngincludedir=$libpng/include \
|
||||||
|
--with-pnglibdir=$libpng/lib \
|
||||||
|
--with-jpegincludedir=$libjpeg/include \
|
||||||
|
--with-jpeglibdir=$libjpeg/lib \
|
||||||
|
--with-expatincludedir=$expat/include \
|
||||||
|
--with-expatlibdir=$expat/lib \
|
||||||
|
"
|
||||||
|
|
||||||
|
genericBuild
|
@ -3,15 +3,18 @@
|
|||||||
assert libpng != null && libjpeg != null && expat != null;
|
assert libpng != null && libjpeg != null && expat != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "graphviz-1.12";
|
name = "graphviz-2.2";
|
||||||
|
|
||||||
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/graphviz-1.12.tar.gz;
|
url = http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.2.tar.gz;
|
||||||
md5 = "a5c004c42f58c957f772060d0889059c";
|
md5 = "9275d30695a5c22f360acbef7b85acd3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11 libpng libjpeg expat libXaw yacc];
|
buildInputs = [x11 libpng libjpeg expat libXaw yacc];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(if x11 == null then "--without-x" else "")
|
(if x11 == null then "--without-x" else "")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
inherit libpng libjpeg expat;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user