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.29
  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:=eb4d5e157671a61b88786e44094775194e30e1d0ad0b9d50035532ece78dbc28
  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
  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:=+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))