mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
41c7e3457b
svn path=/nixpkgs/trunk/; revision=4103
26 lines
335 B
Bash
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
|