restund: module fixes/improvements

- add missing modules to base package
- improve module DEPENDS handling routine

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2017-11-26 22:33:56 +01:00
parent 0bc5fee110
commit 830ac6d8ee

View file

@ -63,6 +63,8 @@ define Package/restund/install
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/auth.so \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/binding.so \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/filedb.so \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/restauth.so \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/stat.so \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/status.so \
$(PKG_INSTALL_DIR)/usr/lib/restund/modules/syslog.so \
@ -92,7 +94,7 @@ define BuildPlugin
define Package/restund-mod-$(1)
$$(call Package/restund/Default)
TITLE:=restund $(2) module
DEPENDS:=restund $(4)
DEPENDS:=restund $(patsubst +%,+PACKAGE_$(PKG_NAME)-mod-$(1):%,$(4))
endef
define Package/restund-mod-$(1)/install
@ -109,4 +111,4 @@ endef
$(eval $(call BuildPackage,restund))
$(eval $(call BuildPlugin,mysql,MySQL database backend,mysql_ser,+PACKAGE_restund-mod-mysql:libmysqlclient))
$(eval $(call BuildPlugin,mysql,MySQL database backend,mysql_ser,+libmysqlclient))