nixpkgs/pkgs/applications/virtualization/8086tiny/builder.sh
AndersonTorres ad6bdfaf56 Deleting the "runme" stuff - it is not needed at all,
and the run method is fully documented
2014-02-24 00:12:00 -03:00

20 lines
493 B
Bash

source $stdenv/setup
mkdir -p ./$name $out/bin $out/share/$name $out/share/doc/$name/images
cd $name
tar xf $src
make 8086tiny
install 8086tiny $out/bin
install bios $out/share/$name/8086tiny-bios
install fd.img $out/share/$name/8086tiny-floppy.img
install bios_source/bios.asm $out/share/$name/8086tiny-bios-src.asmn
install docs/8086tiny.css $out/share/doc/$name
install docs/doc.html $out/share/doc/$name
for i in docs/images/*.gif
do
install $i $out/share/doc/$name/images
done