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.

37 lines
1013 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=dumb-init
  3. PKG_VERSION:=1.2.2
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/Yelp/dumb-init/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=d4e2e10e39ad49c225e1579a4d770b83637399a0be48e29986f720fae44dafdf
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  9. PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  10. PKG_LICENSE:=MIT
  11. PKG_LICENSE_FILES:=LICENSE
  12. include $(INCLUDE_DIR)/package.mk
  13. MAKE_FLAGS+=CFLAGS='$(TARGET_CFLAGS) $(TARGET_LDFLAGS)'
  14. define Package/dumb-init
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. TITLE:=dumb-init
  18. URL:=https://github.com/Yelp/dumb-init.git
  19. endef
  20. define Package/dumb-init/description
  21. dumb-init is a simple process supervisor and init system designed to run as
  22. PID 1 inside minimal container environments.
  23. endef
  24. define Package/dumb-init/install
  25. $(INSTALL_DIR) $(1)/usr/sbin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/dumb-init $(1)/usr/sbin/dumb-init
  27. endef
  28. $(eval $(call BuildPackage,dumb-init))