From 07cbb38db1cb1759e257a4c2f1b29d20573901be Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 16 Oct 2022 17:09:21 +0200 Subject: [PATCH] kamailio: add descriptions via BuildKamailioModule The Makefile currently advertises that descriptions can be added by specifying a string in argument 3 of BuildKamailioModule, but there's actually no mechanism for this. This commit adds the missing pieces. Signed-off-by: Sebastian Kemper --- net/kamailio/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile index 69b45f3..509fb82 100644 --- a/net/kamailio/Makefile +++ b/net/kamailio/Makefile @@ -370,6 +370,9 @@ define BuildKamailioModule endef define Package/kamailio-mod-$(subst _,-,$(1))/conffiles $(subst $(space),$(newline),$(foreach c,$(6),/etc/kamailio/$(c))) + endef + define Package/kamailio-mod-$(subst _,-,$(1))/description +$(subst \n,$(newline),$(3)) endef define Package/kamailio-mod-$(subst _,-,$(1))/install $(call Package/kamailio/install/module,$$(1),$(1)) -- 2.30.2