nixpkgs/pkgs/os-specific/linux/sysklogd/builder.sh

14 lines
311 B
Bash
Raw Normal View History

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"
ensureDir "$out/share/man/man8/"
ensureDir "$out/share/man/man5/"
ensureDir "$out/sbin"
genericBuild