nixpkgs/pkgs/os-specific/linux/sysklogd/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

14 lines
308 B
Bash

source $stdenv/setup
prefix=$out
export prefix
installFlags="BINDIR=$out/sbin MANDIR=$out/share/man INSTALL=install"
patchPhase="sed -e 's@-o \${MAN_USER} -g \${MAN_GROUP} -m \${MAN_PERMS} @@' -i Makefile"
mkdir -p "$out/share/man/man8/"
mkdir -p "$out/share/man/man5/"
mkdir -p "$out/sbin"
genericBuild