spamassassin: site-wide rules are in $out/share/spamassassin; user-rules in /etc/spamassassin

This commit is contained in:
Peter Simons 2012-09-27 15:28:14 +02:00
parent a596022d80
commit 74c0850efd

View File

@ -27,9 +27,13 @@ buildPerlPackage rec {
# for the PERL5LIB environment variable. Needs further investigation.
makeFlags = "PERL_BIN=${perl}/bin/perl PERL_TAINT=no";
makeMakerFlags = "CONFDIR=/etc/spamassassin LOCALSTATEDIR=/var/lib/spamassassin";
doCheck = false;
postInstall = ''
mv "rules/"* $out/share/spamassassin/
for n in "$out/bin/"*; do
wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB"
done