import package inotify-tools
[openadk.git] / package / inotify-tools / Makefile
bloba5c0773c83e1837c179d508871e016894bbadd4c
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_MD5SUM:= b43d95a0fa8c45f8bab3aec9672cf30c
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 PKG_SUBPKGS:= INOTIFYWAIT INOTIFYWATCH LIBINOTIFYTOOLS
16 PKGSC_LIBINOTIFYTOOLS:= libs/fs
17 PKGSD_INOTIFYWAIT:= Wait for changes to files using inotify
18 PKGSD_INOTIFYWATCH:= Gather filesystem access statistics using inotify
19 PKGSD_LIBINOTIFYTOOLS:= Inotify tools library
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-${PKG_RELEASE},libinotifytools,${PKGSD_INOTIFYWAIT},${PKG_SECTION}))
24 $(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-${PKG_RELEASE},libinotifytools,${PKGSD_INOTIFYWATCH},${PKG_SECTION}))
25 $(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBINOTIFYTOOLS},${PKGSC_LIBINOTIFYTOOLS}))
27 post-install:
28 $(INSTALL_DIR) $(IDIR_INOTIFYWAIT)/usr/bin
29 $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywait $(IDIR_INOTIFYWAIT)/usr/bin
30 $(INSTALL_DIR) $(IDIR_INOTIFYWATCH)/usr/bin
31 $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywatch $(IDIR_INOTIFYWATCH)/usr/bin
32 $(INSTALL_DIR) $(IDIR_LIBINOTIFYTOOLS)/usr/lib
33 $(CP) $(WRKINST)/usr/lib/libinotifytools.so* $(IDIR_LIBINOTIFYTOOLS)/usr/lib
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk