add package "abyss" - fix dependencies
authorMirko Vogt <mirko@openwrt.org>
Sat, 15 Jan 2011 03:32:33 +0000 (03:32 +0000)
committerMirko Vogt <mirko@openwrt.org>
Sat, 15 Jan 2011 03:32:33 +0000 (03:32 +0000)
SVN-Revision: 25004

libs/xmlrpc-c/Makefile

index 0b22b7d799cd0c095acd2a7c5994d7da3107fe8e..f3b9ca01389e74cbd2028a10ceabb61e0f70b07e 100644 (file)
@@ -54,6 +54,14 @@ define Package/xmlrpc-c_server
   DEPENDS:=+xmlrpc-c
 endef
 
+define Package/xmlrpc-c_abyss
+  SECTION:=libs
+  CATEGORY:=Libraries
+  TITLE:=XML-RPC library for C/C++ (Xmlrpc-c) - abyss
+  URL:=http://xmlrpc-c.sourceforge.net/
+  DEPENDS:=+xmlrpc-c_common
+endef
+
 define Package/xmlrpc-c_server-abyss
   SECTION:=libs
   CATEGORY:=Libraries
@@ -130,6 +138,15 @@ define Package/xmlrpc-c_server/install
                $(1)/usr/lib/
 endef
 
+define Package/xmlrpc-c_abyss/install
+       $(INSTALL_DIR) \
+               $(1)/usr/lib
+
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_abyss.so* \
+               $(1)/usr/lib/
+endef
+
 define Package/xmlrpc-c_server-abyss/install
        $(INSTALL_DIR) \
                $(1)/usr/lib
@@ -158,8 +175,9 @@ define Package/xmlrpc-c_common/install
 endef
 
 
+$(eval $(call BuildPackage,xmlrpc-c_common))
 $(eval $(call BuildPackage,xmlrpc-c))
 $(eval $(call BuildPackage,xmlrpc-c_server))
+$(eval $(call BuildPackage,xmlrpc-c_abyss))
 $(eval $(call BuildPackage,xmlrpc-c_server-abyss))
 $(eval $(call BuildPackage,xmlrpc-c_client))
-$(eval $(call BuildPackage,xmlrpc-c_common))