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.

43 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=catatonit
  3. PKG_VERSION:=0.1.7
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL:=https://github.com/openSUSE/catatonit.git
  7. PKG_SOURCE_DATE:=2022-03-07
  8. PKG_SOURCE_VERSION:=d8d72fea155c144ed3bf298a35a1aba5625a5656
  9. PKG_MIRROR_HASH:=5dfec105de2b1e674db55e12007aa66cf67769d38e3f294fbca54fc3e9b78674
  10. PKG_BUILD_PARALLEL:=1
  11. PKG_FIXUP:=autoreconf
  12. PKG_INSTALL:=1
  13. PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
  14. PKG_LICENSE:=GPL-3.0-or-later
  15. PKG_LICENSE_FILES:=COPYING
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/catatonit
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. TITLE:=A container init that is so simple it's effectively brain-dead.
  21. URL:=https://github.com/openSUSE/catatonit
  22. DEPENDS:=
  23. endef
  24. define Package/catatonit/description
  25. This is a rewrite of initrs in C, because we found that it is not
  26. possible to statically compile Rust binaries without using musl.
  27. That was, in turn, a reimplementation of other container inits like
  28. tini and dumb-init.
  29. endef
  30. define Package/catatonit/install
  31. $(INSTALL_DIR) $(1)/usr/bin/
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/catatonit $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,catatonit))