added json plugin to openwrt build Makefile
authorBernhard Marker <bernhard@cybercomm.at>
Sun, 5 Jan 2014 20:50:49 +0000 (21:50 +0100)
committerBernhard Marker <bernhard@cybercomm.at>
Sun, 5 Jan 2014 20:50:49 +0000 (21:50 +0100)
openwrt/olsrd-stable-git/Makefile

index 6f6d86b..f31970f 100644 (file)
@@ -77,6 +77,12 @@ define Package/olsrd-stable-git-mod-httpinfo
   TITLE:=Small informative web server plugin
 endef
 
+define Package/olsrd-stable-git-mod-jsoninfo
+  $(call Package/olsrd-stable-git/template)
+  DEPENDS:=olsrd-stable-git
+  TITLE:=json output information plugin
+endef
+
 define Package/olsrd-stable-git-mod-mdns
   $(call Package/olsrd-stable-git/template)
   DEPENDS:=olsrd-stable-git
@@ -180,6 +186,11 @@ define Package/olsrd-stable-git-mod-httpinfo/install
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/httpinfo/olsrd_httpinfo.so.* $(1)/usr/lib/
 endef
 
+define Package/olsrd-stable-git-mod-jsoninfo/install
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/jsoninfo/olsrd_jsoninfo.so.* $(1)/usr/lib/
+endef
+
 define Package/olsrd-stable-git-mod-mdns/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/mdns/olsrd_mdns.so.* $(1)/usr/lib/
@@ -219,6 +230,7 @@ $(eval $(call BuildPackage,olsrd-stable-git-mod-bmf))
 $(eval $(call BuildPackage,olsrd-stable-git-mod-dyn-gw))
 $(eval $(call BuildPackage,olsrd-stable-git-mod-dyn-gw-plain))
 $(eval $(call BuildPackage,olsrd-stable-git-mod-httpinfo))
+$(eval $(call BuildPackage,olsrd-stable-git-mod-jsoninfo))
 $(eval $(call BuildPackage,olsrd-stable-git-mod-mdns))
 $(eval $(call BuildPackage,olsrd-stable-git-mod-nameservice))
 $(eval $(call BuildPackage,olsrd-stable-git-mod-quagga))