diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2015-02-24 12:47:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-28 10:14:30 +0100 |
commit | 76119b98867ab73800e7d2714e1dd57e8d26cdaa (patch) | |
tree | 47bd6d3437dc8b91ecc717024438f5b358c0b667 /package/inotify-tools | |
parent | e8e7f32187d504eaef27d7b9d808ad69dcaee079 (diff) |
import package inotify-tools
Diffstat (limited to 'package/inotify-tools')
-rw-r--r-- | package/inotify-tools/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/inotify-tools/Makefile b/package/inotify-tools/Makefile new file mode 100644 index 000000000..a5c0773c8 --- /dev/null +++ b/package/inotify-tools/Makefile @@ -0,0 +1,35 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +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_SECTION:= sys/fs +PKG_URL:= https://github.com/rvoicilas/inotify-tools/wiki +PKG_SITES:= http://github.com/downloads/rvoicilas/inotify-tools/ + +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 + +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})) + +post-install: + $(INSTALL_DIR) $(IDIR_INOTIFYWAIT)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywait $(IDIR_INOTIFYWAIT)/usr/bin + $(INSTALL_DIR) $(IDIR_INOTIFYWATCH)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywatch $(IDIR_INOTIFYWATCH)/usr/bin + $(INSTALL_DIR) $(IDIR_LIBINOTIFYTOOLS)/usr/lib + $(CP) $(WRKINST)/usr/lib/libinotifytools.so* $(IDIR_LIBINOTIFYTOOLS)/usr/lib + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk |