From 1d0ddff7adc732d007ede69c029178eed9ebc21e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 4 Feb 2012 18:53:38 +0000 Subject: [PATCH] [packages_10.03.2] xmlrpc-c: merge r29845 SVN-Revision: 30067 --- libs/xmlrpc-c/Makefile | 70 +++++++++++++----------------------------- 1 file changed, 22 insertions(+), 48 deletions(-) diff --git a/libs/xmlrpc-c/Makefile b/libs/xmlrpc-c/Makefile index fbff4a89b1..33d2e7ad4c 100644 --- a/libs/xmlrpc-c/Makefile +++ b/libs/xmlrpc-c/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2010 OpenWrt.org +# Copyright (C) 2007-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xmlrpc-c -PKG_REV:=2080 +PKG_REV:=2233 PKG_VERSION:=advanced_r$(PKG_REV) PKG_RELEASE:=1 @@ -26,70 +26,60 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI include $(INCLUDE_DIR)/package.mk -define Package/xmlrpc-c-common +define Package/xmlrpc-c/Default SECTION:=libs CATEGORY:=Libraries - TITLE:=XML-RPC library - common + TITLE:=XML-RPC library URL:=http://xmlrpc-c.sourceforge.net/ endef +define Package/xmlrpc-c-common + $(call Package/xmlrpc-c/Default) + TITLE+= - common +endef + define Package/xmlrpc-c-internal - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - (ueses internal expat variant) - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) + TITLE+= - (uses internal expat variant) DEPENDS:=+xmlrpc-c-common # PROVIDES:=xmlrpc-c VARIANT:=internal endef define Package/xmlrpc-c - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) DEPENDS:=+xmlrpc-c-internal endef define Package/xmlrpc-c-libxml2 - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - (uses libxml2) - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) + TITLE+= - (uses libxml2) DEPENDS:=+xmlrpc-c-common +libxml2 @BROKEN # PROVIDES:=xmlrpc-c VARIANT:=libxml2 endef define Package/xmlrpc-c-client - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - client - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) + TITLE+= - client DEPENDS:=+xmlrpc-c +libcurl endef define Package/xmlrpc-c-server - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - server - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) + TITLE+= - server DEPENDS:=+xmlrpc-c endef define Package/xmlrpc-c-abyss - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - abyss - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) + TITLE+= - abyss DEPENDS:=+xmlrpc-c-common endef define Package/xmlrpc-c-server-abyss - SECTION:=libs - CATEGORY:=Libraries - TITLE:=XML-RPC library - abyss server - URL:=http://xmlrpc-c.sourceforge.net/ + $(call Package/xmlrpc-c/Default) + TITLE+= - abyss server DEPENDS:=+xmlrpc-c-server +xmlrpc-c-abyss endef @@ -111,7 +101,6 @@ CONFIGURE_ARGS+= \ --disable-libwww-client \ --enable-abyss-server \ --disable-cplusplus \ - --disable-static \ --disable-abyss-threads \ --disable-cgi-server @@ -136,23 +125,18 @@ define Build/InstallDev $(1)/usr/lib \ $(1)/usr/bin \ $(2)/bin - $(CP) \ $(PKG_INSTALL_DIR)/usr/include/* \ $(1)/usr/include/ - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc*.{a,so*} \ $(1)/usr/lib/ - $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/xmlrpc-c-config \ $(2)/bin/ - $(SED) \ 's,HEADERINST_DIR="/usr/include",HEADERINST_DIR="$(STAGING_DIR)/usr/include",g' \ $(2)/bin/xmlrpc-c-config - $(SED) \ 's,LIBINST_DIR="/usr/lib",LIBINST_DIR="$(STAGING_DIR)/usr/lib",g' \ $(2)/bin/xmlrpc-c-config @@ -161,7 +145,6 @@ endef define Package/xmlrpc-c-libxml2/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc.so* \ $(1)/usr/lib/ @@ -170,15 +153,12 @@ endef define Package/xmlrpc-c-internal/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc.so* \ $(1)/usr/lib/ - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_xmltok.so* \ $(1)/usr/lib/ - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_xmlparse.so* \ $(1)/usr/lib/ @@ -187,7 +167,6 @@ endef define Package/xmlrpc-c-server/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_server.so* \ $(1)/usr/lib/ @@ -196,7 +175,6 @@ endef define Package/xmlrpc-c-abyss/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_abyss.so* \ $(1)/usr/lib/ @@ -205,7 +183,6 @@ endef define Package/xmlrpc-c-server-abyss/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_server_abyss.so* \ $(1)/usr/lib/ @@ -214,7 +191,6 @@ endef define Package/xmlrpc-c-client/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_client* \ $(1)/usr/lib/ @@ -223,7 +199,6 @@ endef define Package/xmlrpc-c-common/install $(INSTALL_DIR) \ $(1)/usr/lib - $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc_util.so* \ $(1)/usr/lib/ @@ -233,7 +208,6 @@ define Package/xmlrpc-c/install true endef - $(eval $(call BuildPackage,xmlrpc-c)) $(eval $(call BuildPackage,xmlrpc-c-common)) $(eval $(call BuildPackage,xmlrpc-c-libxml2)) -- 2.30.2