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
9 PKG_HASH
:= 222bcca8893d7bf8a1ce207fb39ceead5233b5015623d099392e95197676c92f
10 PKG_DESCR
:= command line programs providing a simple interface to inotify
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
)))
30 $(INSTALL_DIR
) $(IDIR_INOTIFYWAIT
)/usr
/bin
31 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/inotifywait
$(IDIR_INOTIFYWAIT
)/usr
/bin
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