python3: update to 3.11.10
[openadk.git] / package / expat / Makefile
blob986a9721854e8db521403c2a3d5dfc68c4efd47c
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
6 PKG_NAME:= expat
7 PKG_VERSION:= 2.6.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= ee14b4c5d8908b1bec37ad937607eab183d4d9806a08adee472c3c3121d27364
10 PKG_DESCR:= xml parsing library
11 PKG_SECTION:= libs/data
12 PKG_NEEDS:= c++
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
16 PKG_OPTS:= dev
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))
27 endif
29 CONFIGURE_ARGS+= --without-docbook
31 libexpat-install:
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