From 62a7bbf7d655e0baa039a3e425c4c8f0e698b31c Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 21 Oct 2020 00:41:33 +0100 Subject: [PATCH] conmon: new package Signed-off-by: Daniel Golle --- utils/conmon/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 utils/conmon/Makefile diff --git a/utils/conmon/Makefile b/utils/conmon/Makefile new file mode 100644 index 000000000..e232684ec --- /dev/null +++ b/utils/conmon/Makefile @@ -0,0 +1,40 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=conmon +PKG_VERSION:=2.0.21 +PKG_RELEASE:=1 +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://github.com/containers/$(PKG_NAME)/archive/v$(PKG_VERSION) +PKG_HASH:=03c357c2ee35317e781111d59c4f3fb34033e77a17a8f4221f2ed6d3bcc10c25 + +PKG_MAINTAINER:=Daniel Golle + +PKG_BUILD_PARALLEL:=1 +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +MAKE_VARS += PREFIX=/usr + +define Package/conmon + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Podmon conmon + URL:=https://podman.io + DEPENDS:=+glib2 $(INTL_DEPENDS) $(ICONV_DEPENDS) +endef + +define Package/conmon/description + Podman: A tool for managing OCI containers and pods +endef + +define Package/conmon/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/conmon $(1)/usr/bin +endef + +$(eval $(call BuildPackage,conmon))