nixpkgs/pkgs/os-specific/linux/uml-utilities/builder.sh

14 lines
264 B
Bash
Raw Normal View History

buildinputs=""
source $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