1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=inotify-tools
5 PKG_HASH
:=a433cc1dedba851078276db69b0e97f9fe41e4ba3336d2971adfca4b3a6242ac
8 PKG_SOURCE_URL
:=https
://codeload.github.com
/rvoicilas
/inotify-tools
/tar.gz
/$(PKG_VERSION
)?
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
13 PKG_LICENSE_FILES
:=COPYING
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/inotify-tools
/Default
21 URL
:=https
://github.com
/rvoicilas
/inotify-tools
/wiki
24 define Package
/libinotifytools
25 $(call Package
/inotify-tools
/Default
)
31 define Package
/inotifywait
32 $(call Package
/inotify-tools
/Default
)
35 DEPENDS
:=+libinotifytools
36 TITLE
=inotifywait tool
39 define Package
/inotifywatch
40 $(call Package
/inotify-tools
/Default
)
43 DEPENDS
:=+libinotifytools
44 TITLE
=inotifywatch tool
47 define Package
/inotify-tools
/description
48 inotify-tools is a C library and a set of command-line programs for
49 Linux providing a simple interface to inotify. These programs can be
50 used to monitor and act upon filesystem events. A more detailed
51 description of the programs is further down the page. The programs are
52 written in C and have no dependencies other than a Linux kernel
56 define Package
/inotifywait
/description
57 $(call Package
/inotify-tools
/description
)
59 This package provides the inotifywait tool.
62 define Package
/inotifywatch
/description
63 $(call Package
/inotify-tools
/description
)
65 This package provides the inotifywatch tool.
68 define Package
/libinotifytools
/description
69 $(call Package
/inotify-tools
/description
)
71 This package provides the libinotifytools shared library.
74 define Package
/inotifywait
/install
75 $(INSTALL_DIR
) $(1)/usr
/bin
76 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/inotifywait
$(1)/usr
/bin
/
79 define Package
/inotifywatch
/install
80 $(INSTALL_DIR
) $(1)/usr
/bin
81 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/inotifywatch
$(1)/usr
/bin
/
84 define Package
/libinotifytools
/install
85 $(INSTALL_DIR
) $(1)/usr
/lib
86 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* $(1)/usr
/lib
/
90 define Build
/InstallDev
91 $(INSTALL_DIR
) $(1)/usr
/include/inotifytools
92 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/include/inotifytools
/* $(1)/usr
/include/inotifytools
/
93 $(INSTALL_DIR
) $(1)/usr
/lib
/
94 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{so
*,a
,la
} $(1)/usr
/lib
/
97 $(eval
$(call BuildPackage
,libinotifytools
))
98 $(eval
$(call BuildPackage
,inotifywait
))
99 $(eval
$(call BuildPackage
,inotifywatch
))