* Added graphviz.
svn path=/nixpkgs/trunk/; revision=378
This commit is contained in:
parent
15b39d40af
commit
d883e86e1c
12
pkgs/graphviz/graphviz-build.sh
Executable file
12
pkgs/graphviz/graphviz-build.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
|
||||
envpkgs="$zlib $libpng $libjpeg $expat"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
NIX_CFLAGS_COMPILE="-I$zlib/include -I$libpng/include -I$libjpeg/include -I$expat/include $NIX_CFLAGS_COMPILE"
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd graphviz-* || exit 1
|
||||
./configure --prefix=$out --without-x || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
17
pkgs/graphviz/graphviz.fix
Normal file
17
pkgs/graphviz/graphviz.fix
Normal file
@ -0,0 +1,17 @@
|
||||
Package(
|
||||
[ ("name", "graphviz-1.10")
|
||||
|
||||
, ("build", Relative("graphviz/graphviz-build.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-1.10.tar.gz")
|
||||
, ("md5", "e1402531abff68d146bf94e72b44dc2a")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("zlib", IncludeFix("zlib/zlib.fix"))
|
||||
, ("libpng", IncludeFix("libpng/libpng.fix"))
|
||||
, ("libjpeg", IncludeFix("libjpeg/libjpeg.fix"))
|
||||
, ("expat", IncludeFix("expat/expat.fix"))
|
||||
]
|
||||
)
|
@ -9,4 +9,5 @@ Call(IncludeFix("system/system.fix"),
|
||||
, ("docbook", True)
|
||||
, ("httpd", True)
|
||||
, ("firebird", True)
|
||||
, ("graphviz", True)
|
||||
])
|
||||
|
@ -1,6 +1,6 @@
|
||||
Function(
|
||||
[ "subversion", "strategoxt", "pan", "mplayer", "sylpheed", "libxslt", "libxml"
|
||||
, "docbook", "httpd", "firebird"
|
||||
, "docbook", "httpd", "firebird", "graphviz"
|
||||
],
|
||||
Package(
|
||||
[ ("name", "system")
|
||||
@ -27,6 +27,7 @@ Function(
|
||||
, ("actDocbookXsl", If(Var("docbook"), IncludeFix("docbook-xsl/docbook-xsl.fix"), ""))
|
||||
, ("actHttpd", If(Var("httpd"), IncludeFix("httpd/httpd.fix"), ""))
|
||||
, ("actFirebird", If(Var("firebird"), IncludeFix("firebird/firebird.fix"), ""))
|
||||
, ("actGraphviz", If(Var("graphviz"), IncludeFix("graphviz/graphviz.fix"), ""))
|
||||
]
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user