summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Williams <mike@mikebwilliams.com>2011-07-25 17:46:55 -0400
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-26 15:02:09 +0200
commitbc38f2c8b5acd8ec32f024fe7fa806d7dc6dc1b1 (patch)
treed61c78fd687e860329c42d7b1cc97998239fb02a
parentf0e9c42bd157733409da478435f78fe9cff7ae09 (diff)
inotify-tools: Add new package
Adds support for inotify-tools, which are useful for scripting the Linux inotify API. [Peter: needs largefile support] Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/inotify-tools/Config.in14
-rw-r--r--package/inotify-tools/inotify-tools.mk8
3 files changed, 23 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 812a730d1..61f82560e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -491,6 +491,7 @@ source "package/dash/Config.in"
endif
source "package/dialog/Config.in"
source "package/file/Config.in"
+source "package/inotify-tools/Config.in"
source "package/lockfile-progs/Config.in"
source "package/logrotate/Config.in"
source "package/screen/Config.in"
diff --git a/package/inotify-tools/Config.in b/package/inotify-tools/Config.in
new file mode 100644
index 000000000..ed94b3f0e
--- /dev/null
+++ b/package/inotify-tools/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_INOTIFY_TOOLS
+ bool "inotify-tools"
+ depends on BR2_LARGEFILE
+ help
+ inotify-tools is a C library and a set of command-line
+ programs for Linux providing a simple interface to inotify.
+ These programs can be used to monitor and act upon
+ filesystem events. Provides the 'inotifywait' and 'inotifywatch'
+ binaries.
+
+ https://github.com/rvoicilas/inotify-tools
+
+comment "inotify-tools requires a toolchain with LARGEFILE support"
+ depends on !BR2_LARGEFILE
diff --git a/package/inotify-tools/inotify-tools.mk b/package/inotify-tools/inotify-tools.mk
new file mode 100644
index 000000000..d6378bb05
--- /dev/null
+++ b/package/inotify-tools/inotify-tools.mk
@@ -0,0 +1,8 @@
+#############################################################
+#
+# inotify-utils
+#
+#############################################################
+INOTIFY_TOOLS_VERSION = 3.14
+INOTIFY_TOOLS_SITE = http://github.com/downloads/rvoicilas/inotify-tools/
+$(eval $(call AUTOTARGETS,package,inotify-tools))