@ -8,9 +8,8 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := xerces-c
PKG_NAME := xerces-c
PKG_MAIN_VER := 3.2
PKG_VERSION := 3.2.2
PKG_VERSION := 3.2.2
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @APACHE/xerces/c/3/sources
PKG_SOURCE_URL := @APACHE/xerces/c/3/sources
@ -24,33 +23,25 @@ PKG_BUILD_PARALLEL:=1
PKG_FIXUP := autoreconf
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_INSTALL := 1
i n c l u d e $( INCLUDE_DIR ) / u c l i b c + + . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
CONFIGURE_ARGS += \
--disable-pretty-make \
--enable-transcoder-iconv \
--enable-netaccessor-socket \
--enable-msgloader-inmemory
TARGET_LDFLAGS += \
-lm
d e f i n e P a c k a g e / l i b x e r c e s - c
d e f i n e P a c k a g e / l i b x e r c e s - c / D e f a u l t
SECTION:= libs
SECTION:= libs
CATEGORY:= Libraries
CATEGORY:= Libraries
TITLE:= Validating XML parser library for C++
TITLE:= Validating XML parser library for C++
URL:= http://xerces.apache.org/
DEPENDS:= $( CXX_DEPENDS) $( ICONV_DEPENDS) +libc +libpthread
URL:= https://xerces.apache.org/
e n d e f
d e f i n e P a c k a g e / l i b x e r c e s - c
$( call Package /libxerces -c /Default )
DEPENDS:= $( ICONV_DEPENDS) +libstdcpp
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b x e r c e s - c - s a m p l e s
d e f i n e P a c k a g e / l i b x e r c e s - c - s a m p l e s
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Validating XML parser library for C++ ( samples)
URL:= http://xerces.apache.org/
DEPENDS:= +libxerces-c
$( call Package /libxerces -c /Default )
TITLE += ( samples)
DEPENDS += +libxerces-c
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b x e r c e s - c / d e s c r i p t i o n
d e f i n e P a c k a g e / l i b x e r c e s - c / d e s c r i p t i o n
@ -69,18 +60,28 @@ define Package/libxerces-c-samples/description
Validating XML parser library for C++ ( samples)
Validating XML parser library for C++ ( samples)
e n d e f
e n d e f
CONFIGURE_ARGS += \
--disable-rpath \
--enable-msgloader-inmemory \
--enable-netaccessor-socket \
--enable-transcoder-iconv \
--without-pic
TARGET_CFLAGS += $( FPIC)
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include/xercesc/
$( INSTALL_DIR) $( 1) /usr/include/xercesc/
$( CP) $( PKG_INSTALL_DIR) /usr/include/xercesc/* $( 1) /usr/include/xercesc/
$( CP) $( PKG_INSTALL_DIR) /usr/include/xercesc/* $( 1) /usr/include/xercesc/
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/{ libxerces-c.a,libxerces-c-$( PKG_MAIN_VER) .so,libxerces-c.so} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/{ *.a,* .so} $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/xerces-c.pc $( 1) /usr/lib/pkgconfig/xerces-c.pc
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/xerces-c.pc $( 1) /usr/lib/pkgconfig/xerces-c.pc
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b x e r c e s - c / i n s t a l l
d e f i n e P a c k a g e / l i b x e r c e s - c / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/{ libxerces-c-$( PKG_MAIN_VER) .so,libxerces-c.so} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/*.so $( 1) /usr/lib/
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b x e r c e s - c - s a m p l e s / i n s t a l l
d e f i n e P a c k a g e / l i b x e r c e s - c - s a m p l e s / i n s t a l l