2003-09-03 12:32:30 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-09-03 12:55:57 +02:00
|
|
|
envpkgs="$zlib $libpng $libjpeg $expat $freetype"
|
2003-09-03 12:32:30 +02:00
|
|
|
. $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
|