aports/community/syslog-summary/00-fix_Makefile.patch
Stuart Cardall fbbc0f0c76 community/syslog-summary: new aport
https://github.com/dpaleino/syslog-summary
Summarize the contents of a syslog log file / useful with logcheck

Patched to support:
 - new thread safe version of python-magic
 - socklog
2016-09-21 12:14:32 +02:00

16 lines
586 B
Diff

--- syslog-summary-1.14/Makefile
+++ syslog-summary-1.14/Makefile.new
@@ -6,8 +6,12 @@
version = $(shell grep ^version syslog-summary | cut -d\" -f2)
install:
+ install -d $(DESTDIR)/usr/bin
+ install -d $(DESTDIR)/etc/syslog-summary
+ install -d $(DESTDIR)/usr/share/man/man1
install -m 755 syslog-summary $(DESTDIR)/usr/bin/syslog-summary
install -m 644 ignore.rules $(DESTDIR)/etc/syslog-summary/ignore.rules
+ install -m 644 syslog-summary.1 $(DESTDIR)/usr/share/man/man1
uninstall:
[ ! -f $(DESTDIR)/usr/bin/syslog-summary ] || rm -v $(DESTDIR)/usr/bin/syslog-summary