* 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:
parent
428f8b4ca3
commit
cd0e06b9ef
15
pkgs/misc/uml-utilities/builder.sh
Executable file
15
pkgs/misc/uml-utilities/builder.sh
Executable 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
|
12
pkgs/misc/uml-utilities/default.nix
Normal file
12
pkgs/misc/uml-utilities/default.nix
Normal 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;
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user