kamailio-5.x: add kambdb_recover utility

The recently added mod-db-berkeley comes with a companion utility.
Package kambdb_recover so it becomes available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-02-11 22:30:16 +01:00
parent 28d380b376
commit 9113396032

View file

@ -91,6 +91,20 @@ define Package/kamailio5/install/module
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/kamailio/modules/$(2).so* $(1)/usr/lib/kamailio/modules/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/kamailio/modules/$(2).so* $(1)/usr/lib/kamailio/modules/
endef endef
define Package/kamailio5-kambdb_recover
$(call Package/kamailio5/Default)
SECTION:=utils
CATEGORY:=Utilities
TITLE:=kamailio5 kambdb_recover
DEPENDS:=kamailio5 +PACKAGE_kamailio5-kambdb_recover:kamailio5-mod-db-berkeley
endef
define Package/kamailio5-kambdb_recover/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/kambdb_recover \
$(1)/usr/sbin/kambdb_recover
endef
define Package/kamailio5-libkamailio-ims define Package/kamailio5-libkamailio-ims
$(call Package/kamailio5/Default) $(call Package/kamailio5/Default)
SECTION:=lib SECTION:=lib
@ -194,6 +208,7 @@ define Build/Compile
endef endef
$(eval $(call BuildPackage,kamailio5)) $(eval $(call BuildPackage,kamailio5))
$(eval $(call BuildPackage,kamailio5-kambdb_recover))
$(eval $(call BuildPackage,kamailio5-libkamailio-ims)) $(eval $(call BuildPackage,kamailio5-libkamailio-ims))
$(eval $(call BuildPackage,kamailio5-libtrie)) $(eval $(call BuildPackage,kamailio5-libtrie))