1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/os-specific/linux/initscripts/builder.sh
Armijn Hemel 01b1cb166c add a lot of initscript stuff from Fedora. This way we can copy scripts mostly one on one :)
The scripts (especially $out/etc/rc.d/init.d/functions) still need some work to eliminate hard paths...

svn path=/nixpkgs/trunk/; revision=4355
2005-12-12 17:03:54 +00:00

21 lines
218 B
Bash

source $stdenv/setup
export ROOT=$out
buildPhase() {
cd src
make
}
buildPhase=buildPhase
installPhase() {
make install
cd ..; cp -af rc.d sysconfig ppp $ROOT/etc
}
installPhase=installPhase
genericBuild