mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 12:17:19 +04:00
Release notes: https://github.com/Yelp/dumb-init/releases/tag/v1.2.3 https://github.com/Yelp/dumb-init/releases/tag/v1.2.4 https://github.com/Yelp/dumb-init/releases/tag/v1.2.5 Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
38 lines
1013 B
Makefile
38 lines
1013 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=dumb-init
|
|
PKG_VERSION:=1.2.5
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/Yelp/dumb-init/tar.gz/v$(PKG_VERSION)?
|
|
PKG_HASH:=3eda470d8a4a89123f4516d26877a727c0945006c8830b7e3bad717a5f6efc4e
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
MAKE_FLAGS+=CFLAGS='$(TARGET_CFLAGS) $(TARGET_LDFLAGS)'
|
|
|
|
define Package/dumb-init
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=dumb-init
|
|
URL:=https://github.com/Yelp/dumb-init.git
|
|
endef
|
|
|
|
define Package/dumb-init/description
|
|
dumb-init is a simple process supervisor and init system designed to run as
|
|
PID 1 inside minimal container environments.
|
|
endef
|
|
|
|
define Package/dumb-init/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dumb-init $(1)/usr/sbin/dumb-init
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,dumb-init))
|