libxerces-c: update to latest version, clean configure and fix iconv dependencies
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
455b2dc388
commit
60bdade49c
|
@ -8,13 +8,13 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libxerces-c
|
PKG_NAME:=libxerces-c
|
||||||
PKG_VERSION:=3.1.1
|
PKG_VERSION:=3.1.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=git://git.apache.org/xerces-c.git
|
PKG_SOURCE_URL:=git://git.apache.org/xerces-c.git
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_SOURCE_VERSION:=Xerces-C_3_1_1
|
PKG_SOURCE_VERSION:=Xerces-C_3_1_2
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
||||||
|
|
||||||
|
@ -22,10 +22,11 @@ PKG_LICENSE:=Apache-2.0
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_FIXUP:=libtool
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/uclibc++.mk
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
|
@ -34,14 +35,7 @@ CONFIGURE_ARGS += \
|
||||||
--enable-netaccessor-socket \
|
--enable-netaccessor-socket \
|
||||||
--enable-msgloader-inmemory
|
--enable-msgloader-inmemory
|
||||||
|
|
||||||
TARGET_CFLAGS += \
|
|
||||||
-I$(STAGING_DIR)/usr/lib/libiconv-full/include
|
|
||||||
|
|
||||||
TARGET_CPPFLAGS += \
|
|
||||||
-I$(STAGING_DIR)/usr/lib/libiconv-full/include
|
|
||||||
|
|
||||||
TARGET_LDFLAGS += \
|
TARGET_LDFLAGS += \
|
||||||
-L$(STAGING_DIR)/usr/lib/libiconv-full/lib \
|
|
||||||
-lm
|
-lm
|
||||||
|
|
||||||
define Package/libxerces-c
|
define Package/libxerces-c
|
||||||
|
@ -49,7 +43,7 @@ define Package/libxerces-c
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=Validating XML parser library for C++
|
TITLE:=Validating XML parser library for C++
|
||||||
URL:=http://xerces.apache.org/
|
URL:=http://xerces.apache.org/
|
||||||
DEPENDS:=$(CXX_DEPENDS) +libc +libiconv +libpthread
|
DEPENDS:=$(CXX_DEPENDS) $(ICONV_DEPENDS) +libc +libpthread
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libxerces-c-samples
|
define Package/libxerces-c-samples
|
||||||
|
@ -60,12 +54,6 @@ define Package/libxerces-c-samples
|
||||||
DEPENDS:=+libxerces-c
|
DEPENDS:=+libxerces-c
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
|
||||||
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
|
||||||
./reconf;)
|
|
||||||
$(call Build/Configure/Default)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libxerces-c/description
|
define Package/libxerces-c/description
|
||||||
Xerces-C++ is a validating XML parser written in a portable subset of
|
Xerces-C++ is a validating XML parser written in a portable subset of
|
||||||
C++. Xerces-C++ makes it easy to give your application the ability
|
C++. Xerces-C++ makes it easy to give your application the ability
|
||||||
|
|
Loading…
Reference in New Issue