nixpkgs/pkgs/os-specific/linux/sysvinit/builder.sh
Eelco Dolstra 500a06b8a9 * Added sysvinit (mostly because it provides a decent `halt'
command).

svn path=/nixpkgs/trunk/; revision=787
2004-02-16 14:09:55 +00:00

21 lines
315 B
Bash
Executable file

#! /bin/sh -e
buildinputs="$patch"
. $stdenv/setup
tar xvfz $src
cd sysvinit-*
patch -p1 < $srcPatch
cd src
make
mkdir $out
mkdir $out/bin
mkdir $out/sbin
mkdir $out/include
mkdir $out/share
mkdir $out/share/man
mkdir $out/share/man/man1
mkdir $out/share/man/man5
mkdir $out/share/man/man8
make ROOT=$out install