1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= ee14b4c5d8908b1bec37ad937607eab183d4d9806a08adee472c3c3121d27364
10 PKG_DESCR
:= xml parsing library
11 PKG_SECTION
:= libs
/data
13 PKG_URL
:= http
://expat.sourceforge.net
14 PKG_SITES
:= https
://github.com
/libexpat
/libexpat
/releases
/download
/R_2_6_2
/
15 PKG_LIBNAME
:= libexpat
18 include ${ADK_TOPDIR}/mk
/host.mk
19 include ${ADK_TOPDIR}/mk
/package.mk
21 $(eval
$(call HOST_template
,LIBEXPAT
,libexpat
,${PKG_VERSION}-${PKG_RELEASE}))
22 $(eval
$(call PKG_template
,LIBEXPAT
,libexpat
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 ifeq ($(ADK_TARGET_USE_STATIC_AND_SHARED_LIBS
),y
)
25 TARGET_CFLAGS
:= $(filter-out -static
,$(TARGET_CFLAGS
))
26 TARGET_LDFLAGS
:=$(filter-out -static
,$(TARGET_LDFLAGS
))
29 CONFIGURE_ARGS
+= --without-docbook
32 ${INSTALL_DIR} ${IDIR_LIBEXPAT}/usr
/lib
33 ${CP} ${WRKINST}/usr
/lib
/libexpat.so
* ${IDIR_LIBEXPAT}/usr
/lib
/
35 include ${ADK_TOPDIR}/mk
/host-bottom.mk
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk