sngrep: install /etc/sngreprc

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-01-21 18:46:54 +01:00
parent b56aec67e8
commit f338b3b27a

View file

@ -46,6 +46,10 @@ It supports SIP UDP and TCP transports (when each message is delivered
in one packet).
endef
define Package/sngrep/conffiles
/etc/sngreprc
endef
CONFIGURE_ARGS += \
--enable-eep \
--enable-ipv6 \
@ -54,6 +58,8 @@ CONFIGURE_ARGS += \
--with-pcre
define Package/sngrep/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/sngreprc $(1)/etc
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sngrep $(1)/usr/bin
endef