PKG_NAME:=siproxd
PKG_VERSION:=0.8.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/siproxd
endef
define BuildPlugin
- define Package/siproxd-mod-$(1)
+ define Package/siproxd-mod-$(subst _,-,$(1))
$$(call Package/siproxd/Default)
TITLE:= siproxd $(1) plugin
DEPENDS:=siproxd
endef
- define Package/siproxd-mod-$(1)/install
+ define Package/siproxd-mod-$(subst _,-,$(1))/install
$(INSTALL_DIR) $$(1)/usr/lib/siproxd
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/siproxd/plugin_$(1).so $$(1)/usr/lib/siproxd
endef
- $$(eval $$(call BuildPackage,siproxd-mod-$(1)))
+ $$(eval $$(call BuildPackage,siproxd-mod-$(subst _,-,$(1))))
endef
$(eval $(call BuildPackage,siproxd))