summaryrefslogtreecommitdiff
path: root/homebrew/logrotate/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/logrotate/.make.sh-auto')
-rw-r--r--homebrew/logrotate/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/logrotate/.make.sh-auto b/homebrew/logrotate/.make.sh-auto
new file mode 100644
index 000000000..616b4112a
--- /dev/null
+++ b/homebrew/logrotate/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --with-compress-command=/usr/bin/gzip --with-uncompress-command=/usr/bin/gunzip --with-state-file-path=#{var}/lib/logrotate.status
+make DESTDIR=${PKG_DEST} install
+inreplace "examples/logrotate.conf", "/etc/logrotate.d", "#{etc}/logrotate.d"
+etc.install "examples/logrotate.conf" => "logrotate.conf"
+(etc/"logrotate.d").mkpath