mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
01b1cb166c
The scripts (especially $out/etc/rc.d/init.d/functions) still need some work to eliminate hard paths... svn path=/nixpkgs/trunk/; revision=4355
21 lines
218 B
Bash
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
|