Makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= inotify-tools
  5. PKG_VERSION:= 4.25.9.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d33a4fd24c72c2d08893f129d724adf725b93dae96c359e4f4e9f32573cc853b
  8. PKG_DESCR:= command line programs providing a simple interface to inotify
  9. PKG_SECTION:= sys/fs
  10. PKG_KDEPENDS:= inotify-user
  11. PKG_URL:= https://github.com/inotify-tools/
  12. PKG_SITES:= https://github.com/inotify-tools/inotify-tools/archive/refs/tags/
  13. DISTFILES:= $(PKG_VERSION).tar.gz
  14. PKG_SUBPKGS:= INOTIFYWAIT INOTIFYWATCH LIBINOTIFYTOOLS
  15. PKGSC_LIBINOTIFYTOOLS:= libs/misc
  16. PKGSD_INOTIFYWAIT:= wait for changes to files using inotify
  17. PKGSS_INOTIFYWAIT:= libinotifytools
  18. PKGSD_INOTIFYWATCH:= gather filesystem access statistics using inotify
  19. PKGSS_INOTIFYWATCH:= libinotifytools
  20. PKGSD_LIBINOTIFYTOOLS:= inotify tools library
  21. include $(ADK_TOPDIR)/mk/package.mk
  22. $(eval $(call PKG_template,INOTIFYWAIT,inotifywait,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWAIT),$(PKG_SECTION)))
  23. $(eval $(call PKG_template,INOTIFYWATCH,inotifywatch,$(PKG_VERSION)-$(PKG_RELEASE),libinotifytools,$(PKGSD_INOTIFYWATCH),$(PKG_SECTION)))
  24. $(eval $(call PKG_template,LIBINOTIFYTOOLS,libinotifytools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBINOTIFYTOOLS),$(PKGSC_LIBINOTIFYTOOLS)))
  25. AUTOTOOL_STYLE:= autoreconf
  26. inotifywait-install:
  27. $(INSTALL_DIR) $(IDIR_INOTIFYWAIT)/usr/bin
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywait $(IDIR_INOTIFYWAIT)/usr/bin
  29. inotifywatch-install:
  30. $(INSTALL_DIR) $(IDIR_INOTIFYWATCH)/usr/bin
  31. $(INSTALL_BIN) $(WRKINST)/usr/bin/inotifywatch $(IDIR_INOTIFYWATCH)/usr/bin
  32. libinotifytools-install:
  33. $(INSTALL_DIR) $(IDIR_LIBINOTIFYTOOLS)/usr/lib
  34. $(CP) $(WRKINST)/usr/lib/libinotifytools.so* $(IDIR_LIBINOTIFYTOOLS)/usr/lib
  35. include $(ADK_TOPDIR)/mk/pkg-bottom.mk