autossh: update to 1.4e
[openadk.git] / package / inotify-tools / Makefile
blob82ea714d475cd1550cf499ef8aebac772a78c95b
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= inotify-tools
7 PKG_VERSION:= 3.14
8 PKG_RELEASE:= 1
9 PKG_HASH:= 222bcca8893d7bf8a1ce207fb39ceead5233b5015623d099392e95197676c92f
10 PKG_DESCR:= command line programs providing a simple interface to inotify
11 PKG_SECTION:= sys/fs
12 PKG_URL:= https://github.com/rvoicilas/inotify-tools/wiki
13 PKG_SITES:= http://github.com/downloads/rvoicilas/inotify-tools/
15 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SUBPKGS:= INOTIFYWAIT INOTIFYWATCH LIBINOTIFYTOOLS
18 PKGSC_LIBINOTIFYTOOLS:= libs/misc
19 PKGSD_INOTIFYWAIT:= wait for changes to files using inotify
20 PKGSD_INOTIFYWATCH:= gather filesystem access statistics using inotify
21 PKGSD_LIBINOTIFYTOOLS:= inotify tools library
23 include $(ADK_TOPDIR)/mk/package.mk
25 $(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWAIT),$(PKG_SECTION)))
26 $(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWATCH),$(PKG_SECTION)))
27 $(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBINOTIFYTOOLS),$(PKGSC_LIBINOTIFYTOOLS)))
29 inotifywait-install:
30 $(INSTALL_DIR) $(IDIR_INOTIFYWAIT)/usr/bin
31 $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywait $(IDIR_INOTIFYWAIT)/usr/bin
33 inotifywatch-install:
34 $(INSTALL_DIR) $(IDIR_INOTIFYWATCH)/usr/bin
35 $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywatch $(IDIR_INOTIFYWATCH)/usr/bin
37 libinotifytools-install:
38 $(INSTALL_DIR) $(IDIR_LIBINOTIFYTOOLS)/usr/lib
39 $(CP) $(WRKINST)/usr/lib/libinotifytools.so* $(IDIR_LIBINOTIFYTOOLS)/usr/lib
41 include $(ADK_TOPDIR)/mk/pkg-bottom.mk