nixpkgs/pkgs/misc/uml-utilities/builder.sh
Eelco Dolstra cd0e06b9ef * 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
2004-02-18 16:22:31 +00:00

16 lines
274 B
Bash
Executable file

#! /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