1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/os-specific/linux/sysvinit/builder.sh
Armijn Hemel 41c7e3457b rewrite old builder to new style builder (long overdue!)
svn path=/nixpkgs/trunk/; revision=4103
2005-10-18 21:25:57 +00:00

26 lines
335 B
Bash

source $stdenv/setup
buildPhase() {
cd src
make
}
buildPhase=buildPhase
installPhase() {
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
}
installPhase=installPhase
genericBuild