* Added the UML utilities (in particular for tunctl). mconsole is

not built since it requires readline, which we don't have right now.

svn path=/nixpkgs/trunk/; revision=804
This commit is contained in:
Eelco Dolstra 2004-02-18 16:22:31 +00:00
parent 428f8b4ca3
commit cd0e06b9ef
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#! /bin/sh -e
buildinputs=""
. $stdenv/setup
tar xvfj $src
cd tools
sed s/mconsole// < Makefile > tmp
mv tmp Makefile
mkdir $out
mkdir $out/bin
mkdir $out/lib
mkdir $out/lib/uml
make BIN_DIR=$out/bin LIB_DIR=$out/lib/uml
make BIN_DIR=$out/bin LIB_DIR=$out/lib/uml install

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl}:
derivation {
name = "uml-utilities-20040114";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://unc.dl.sourceforge.net/sourceforge/user-mode-linux/uml_utilities_20040114.tar.bz2;
md5 = "1fd5b791ef32c6a3ed4ae42c4a53a316";
};
inherit stdenv;
}

View File

@ -665,6 +665,10 @@
patch = gnupatch;
};
umlutilities = (import ../misc/uml-utilities) {
inherit fetchurl stdenv;
};
nix = (import ../misc/nix) {
inherit fetchurl stdenv aterm;
aterm = aterm_2_0_5;