You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=conmon
  3. PKG_VERSION:=2.0.30
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://github.com/containers/$(PKG_NAME)/archive/v$(PKG_VERSION)
  7. PKG_HASH:=4b0a98fbe8a63c42f60edac25c19aa6606caa7b1e4fe7846fc7f7de0b566ba25
  8. PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
  9. PKG_LICENSE:=Apache-2.0
  10. PKG_LICENSE_FILES:=LICENSE
  11. PKG_BUILD_DEPENDS:=golang/host libseccomp
  12. include $(INCLUDE_DIR)/package.mk
  13. include $(INCLUDE_DIR)/nls.mk
  14. include $(INCLUDE_DIR)/meson.mk
  15. define Package/conmon
  16. SECTION:=utils
  17. CATEGORY:=Utilities
  18. TITLE:=Podman conmon
  19. URL:=https://podman.io
  20. DEPENDS:=@!arc +glib2 $(INTL_DEPENDS) $(ICONV_DEPENDS)
  21. endef
  22. define Package/conmon/description
  23. An OCI container runtime monitor.
  24. Conmon is a monitoring program and communication tool between
  25. a container manager (like Podman or CRI-O) and an OCI runtime
  26. (like runc or crun) for a single container.
  27. endef
  28. define Package/conmon/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/podman/conmon $(1)/usr/bin
  31. endef
  32. $(eval $(call BuildPackage,conmon))