summaryrefslogtreecommitdiff
path: root/package/inotify-tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:11:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:39 +0100
commit3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 (patch)
tree2bda2f5203b3833e77529fe96884d56e69c8fca3 /package/inotify-tools
parent23cfddf360edbac12473a5c6f9e2d85b12992bb3 (diff)
cleanup phil's submissions
- use () instead of {} in make variables for now - use PKG_HASH instead of PKG_MD5SUM - update to latest upstream versions - use a newline between PKG_* variables and DISTFILES - use <pkgname>-install instead of post-install - use lowercase description texts only - fix some missing PKG_BUILDDEP - elfutils needs argp, which is not available in uClibc-ng, yet - PKG_HASH is not required for git sources
Diffstat (limited to 'package/inotify-tools')
-rw-r--r--package/inotify-tools/Makefile28
1 files changed, 17 insertions, 11 deletions
diff --git a/package/inotify-tools/Makefile b/package/inotify-tools/Makefile
index a5c0773c8..82ea714d4 100644
--- a/package/inotify-tools/Makefile
+++ b/package/inotify-tools/Makefile
@@ -6,30 +6,36 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= inotify-tools
PKG_VERSION:= 3.14
PKG_RELEASE:= 1
-PKG_MD5SUM:= b43d95a0fa8c45f8bab3aec9672cf30c
-PKG_DESCR:= Command line programs providing a simple interface to inotify
+PKG_HASH:= 222bcca8893d7bf8a1ce207fb39ceead5233b5015623d099392e95197676c92f
+PKG_DESCR:= command line programs providing a simple interface to inotify
PKG_SECTION:= sys/fs
PKG_URL:= https://github.com/rvoicilas/inotify-tools/wiki
PKG_SITES:= http://github.com/downloads/rvoicilas/inotify-tools/
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
PKG_SUBPKGS:= INOTIFYWAIT INOTIFYWATCH LIBINOTIFYTOOLS
-PKGSC_LIBINOTIFYTOOLS:= libs/fs
-PKGSD_INOTIFYWAIT:= Wait for changes to files using inotify
-PKGSD_INOTIFYWATCH:= Gather filesystem access statistics using inotify
-PKGSD_LIBINOTIFYTOOLS:= Inotify tools library
+PKGSC_LIBINOTIFYTOOLS:= libs/misc
+PKGSD_INOTIFYWAIT:= wait for changes to files using inotify
+PKGSD_INOTIFYWATCH:= gather filesystem access statistics using inotify
+PKGSD_LIBINOTIFYTOOLS:= inotify tools library
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-${PKG_RELEASE},libinotifytools,${PKGSD_INOTIFYWAIT},${PKG_SECTION}))
-$(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-${PKG_RELEASE},libinotifytools,${PKGSD_INOTIFYWATCH},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBINOTIFYTOOLS},${PKGSC_LIBINOTIFYTOOLS}))
+$(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWAIT),$(PKG_SECTION)))
+$(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWATCH),$(PKG_SECTION)))
+$(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBINOTIFYTOOLS),$(PKGSC_LIBINOTIFYTOOLS)))
-post-install:
+inotifywait-install:
$(INSTALL_DIR) $(IDIR_INOTIFYWAIT)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywait $(IDIR_INOTIFYWAIT)/usr/bin
+
+inotifywatch-install:
$(INSTALL_DIR) $(IDIR_INOTIFYWATCH)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywatch $(IDIR_INOTIFYWATCH)/usr/bin
+
+libinotifytools-install:
$(INSTALL_DIR) $(IDIR_LIBINOTIFYTOOLS)/usr/lib
$(CP) $(WRKINST)/usr/lib/libinotifytools.so* $(IDIR_LIBINOTIFYTOOLS)/usr/lib
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk