parent
15b39d40af
commit
d883e86e1c
|
@ -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
|
|
@ -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)
|
, ("docbook", True)
|
||||||
, ("httpd", True)
|
, ("httpd", True)
|
||||||
, ("firebird", True)
|
, ("firebird", True)
|
||||||
|
, ("graphviz", True)
|
||||||
])
|
])
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Function(
|
Function(
|
||||||
[ "subversion", "strategoxt", "pan", "mplayer", "sylpheed", "libxslt", "libxml"
|
[ "subversion", "strategoxt", "pan", "mplayer", "sylpheed", "libxslt", "libxml"
|
||||||
, "docbook", "httpd", "firebird"
|
, "docbook", "httpd", "firebird", "graphviz"
|
||||||
],
|
],
|
||||||
Package(
|
Package(
|
||||||
[ ("name", "system")
|
[ ("name", "system")
|
||||||
|
@ -27,6 +27,7 @@ Function(
|
||||||
, ("actDocbookXsl", If(Var("docbook"), IncludeFix("docbook-xsl/docbook-xsl.fix"), ""))
|
, ("actDocbookXsl", If(Var("docbook"), IncludeFix("docbook-xsl/docbook-xsl.fix"), ""))
|
||||||
, ("actHttpd", If(Var("httpd"), IncludeFix("httpd/httpd.fix"), ""))
|
, ("actHttpd", If(Var("httpd"), IncludeFix("httpd/httpd.fix"), ""))
|
||||||
, ("actFirebird", If(Var("firebird"), IncludeFix("firebird/firebird.fix"), ""))
|
, ("actFirebird", If(Var("firebird"), IncludeFix("firebird/firebird.fix"), ""))
|
||||||
|
, ("actGraphviz", If(Var("graphviz"), IncludeFix("graphviz/graphviz.fix"), ""))
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue