[packages] xmlrpc-c: update to 1.24.4 (#8277), thanks sav, use PKG_INSTALL and refres...
authorStephen Walker <stephendwalker@gmail.com>
Fri, 17 Dec 2010 05:03:20 +0000 (05:03 +0000)
committerStephen Walker <stephendwalker@gmail.com>
Fri, 17 Dec 2010 05:03:20 +0000 (05:03 +0000)
SVN-Revision: 24636

libs/xmlrpc-c/Makefile
libs/xmlrpc-c/patches/001-config.mk.in.patch

index 6b6efe356fa4c295439bbc0b3049350c742bab26..616f04dbd93963e4babf099c8339e5b4a1a77e04 100644 (file)
@@ -4,23 +4,22 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $ sav $
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xmlrpc-c
-PKG_REV:=1913
-PKG_VERSION:=1.22.2_r$(PKG_REV)
+PKG_REV:=2042
+PKG_VERSION:=1.24.4_r$(PKG_REV)
 PKG_RELEASE:=1
+
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_VERSION:=$(PKG_REV)
 PKG_SOURCE_PROTO:=svn
 
-PKG_BUILD_DEPENDS:=libcurl libxml2
-
-PKG_FIXUP = libtool
+PKG_FIXUP:=libtool
+PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -34,7 +33,7 @@ endef
 
 define Package/xmlrpc-c/description
     Programming library for writing an XML-RPC server or client in C or C++.
-    XML-RPC is a standard network protocol to allow a client program to make 
+    XML-RPC is a standard network protocol to allow a client program to make
     a simple remote procedure call (RPC) type request of a server.
 endef
 
@@ -46,10 +45,6 @@ CONFIGURE_ARGS+= \
        --disable-cplusplus \
        --disable-static \
 
-define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
-endef
-
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
index 42e3b3bec403cdf809ec068ee9a88978931e55eb..e190ebb8100adda6676e932c830508aa66b869e2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/config.mk.in
 +++ b/config.mk.in
-@@ -178,7 +178,7 @@ ifeq ($(patsubst linux-gnu%,linux-gnu,$(
+@@ -175,7 +175,7 @@ ifeq ($(patsubst linux-gnu%,linux-gnu,$(
    shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
    shliblefn = $(1:%=%.$(SHLIB_SUFFIX))
  #  SHLIB_CLIB = -lc