diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-03-01 13:19:12 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-03-01 13:19:12 +0100 |
commit | f2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch) | |
tree | 72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/inotify-tools/Makefile | |
parent | dce7d2df8c73896aeef77118fe89fc7e88d035fe (diff) | |
parent | 0943b7422376747a452bda5562c73d673cccbe68 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/inotify-tools/Makefile')
-rw-r--r-- | package/inotify-tools/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/package/inotify-tools/Makefile b/package/inotify-tools/Makefile new file mode 100644 index 000000000..82ea714d4 --- /dev/null +++ b/package/inotify-tools/Makefile @@ -0,0 +1,41 @@ +# 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_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/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))) + +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 |