nixpkgs-suyu/pkgs/os-specific/linux/sysklogd/builder.sh
Yury G. Kudryashov b2149510df sysklogd: upgraded to 1.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=9819
2007-12-01 20:04:44 +00:00

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