aboutsummaryrefslogtreecommitdiffstats
path: root/package/logsurfer
diff options
context:
space:
mode:
authorDominik Faessler <faessler@was.ch>2012-05-14 21:36:22 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-19 20:53:03 +0200
commit0b99b75fb66b453746179eee8e2a9131de87e331 (patch)
treee5d43f5f6dae3ac3206cbb1654c826712e7eebf1 /package/logsurfer
parent20d4b4148f3bd2697093ab8adef4f642c358581d (diff)
downloadbuildroot-novena-0b99b75fb66b453746179eee8e2a9131de87e331.tar.gz
buildroot-novena-0b99b75fb66b453746179eee8e2a9131de87e331.zip
logsurfer: new package
[Peter: fix target installation, install man pages, AUTOTARGETS args] Signed-off-by: Dominik Faessler <faessler@was.ch> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/logsurfer')
-rw-r--r--package/logsurfer/Config.in7
-rw-r--r--package/logsurfer/logsurfer.mk29
2 files changed, 36 insertions, 0 deletions
diff --git a/package/logsurfer/Config.in b/package/logsurfer/Config.in
new file mode 100644
index 000000000..27d18815c
--- /dev/null
+++ b/package/logsurfer/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LOGSURFER
+ bool "logsurfer"
+ help
+ Logsurfer is a program for monitoring system logs in real-time,
+ and reporting on the occurrence of events.
+
+ http://www.crypt.gen.nz/logsurfer/
diff --git a/package/logsurfer/logsurfer.mk b/package/logsurfer/logsurfer.mk
new file mode 100644
index 000000000..89f6bbd63
--- /dev/null
+++ b/package/logsurfer/logsurfer.mk
@@ -0,0 +1,29 @@
+#############################################################
+#
+# logsurfer
+#
+#############################################################
+
+LOGSURFER_VERSION = 1.8
+LOGSURFER_SOURCE = logsurfer-$(LOGSURFER_VERSION).tar.gz
+LOGSURFER_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/logsurfer/logsurfer/logsurfer-$(LOGSURFER_VERSION)
+
+define LOGSURFER_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/src/logsurfer \
+ $(TARGET_DIR)/usr/bin/logsurfer
+endef
+
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
+
+define LOGSURFER_INSTALL_TARGET_MAN
+ $(INSTALL) -D -m 0644 $(@D)/man/logsurfer.1 \
+ $(TARGET_DIR)/usr/man/man1/logsurfer.1
+ $(INSTALL) -D -m 0644 $(@D)/man/logsurfer.conf.4 \
+ $(TARGET_DIR)/usr/man/man4/logsurfer.conf.4
+endef
+
+LOGSURFER_POST_INSTALL_TARGET_HOOKS += LOGSURFER_INSTALL_TARGET_MAN
+
+endif
+
+$(eval $(call AUTOTARGETS))