svn path=/nixpkgs/trunk/; revision=3652
This commit is contained in:
Armijn Hemel 2005-08-21 16:11:25 +00:00
parent 789a0ab393
commit 4b640be166
3 changed files with 25 additions and 1 deletions

View file

@ -165,7 +165,7 @@ rec {
};
dhcp = (import ../tools/networking/dhcp) {
inherit fetchurl stdenv;
inherit fetchurl stdenv groff;
};
graphviz = (import ../tools/graphics/graphviz) {

View file

@ -0,0 +1,12 @@
. $stdenv/setup
export DESTDIR=$out
configurePhase() {
./configure
prefix=$out
}
configurePhase=configurePhase
genericBuild

View file

@ -0,0 +1,12 @@
{stdenv, fetchurl, groff}:
stdenv.mkDerivation {
name = "dhcp-3.0.3";
builder=./builder.sh;
src = fetchurl {
url = ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.3.tar.gz;
md5 = "f91416a0b8ed3fd0601688cf0b7df58f";
};
buildInputs = [groff];
# patches = [./dhcp-makefile.patch];
}