python3: update to 3.11.10
[openadk.git] / package / libxml2 / Makefile
blob20a1428b7310c4ea3a5340c3596db062620a41ad
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:= libxml2
7 PKG_VERSION:= 2.10.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= 5d2cc3d78bec3dbe212a9d7fa629ada25a7da928af432c93060ff5c17ee28a9c
10 PKG_DESCR:= xml parser and toolkit
11 PKG_SECTION:= libs/data
12 PKG_DEPENDS:= zlib
13 PKG_BUILDDEP:= libxml2-host python3 zlib
14 HOST_BUILDDEP:= python3-host
15 PKG_URL:= http://www.xmlsoft.org/
16 PKG_SITES:= https://download.gnome.org/sources/libxml2/2.10/
17 PKG_OPTS:= dev
19 include $(ADK_TOPDIR)/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,LIBXML2,libxml2,$(PKG_VERSION)-$(PKG_RELEASE)))
23 $(eval $(call PKG_template,LIBXML2,libxml2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
25 HOST_STYLE:= auto
26 HOST_CONFIGURE_ARGS+= --without-python \
27 --with-threads \
28 --without-iconv \
29 --without-lzma \
30 --without-zlib
32 CONFIGURE_ARGS+= --without-c14n \
33 --without-debug \
34 --with-catalog \
35 --with-html \
36 --without-ftp \
37 --without-http \
38 --without-iconv \
39 --without-lzma \
40 --without-iso8859x \
41 --without-legacy \
42 --with-output \
43 --without-pattern \
44 --without-push \
45 --with-reader \
46 --without-readline \
47 --without-regexps \
48 --with-sax1 \
49 --with-schemas \
50 --with-threads \
51 --with-tree \
52 --with-valid \
53 --with-writer \
54 --with-xinclude \
55 --with-xpath \
56 --with-xptr \
57 --without-python \
58 --with-zlib='$(STAGING_TARGET_DIR)/usr'
60 libxml2-install:
61 $(INSTALL_DIR) $(IDIR_LIBXML2)/usr/lib
62 $(CP) $(WRKINST)/usr/lib/libxml2.so* $(IDIR_LIBXML2)/usr/lib
64 include $(ADK_TOPDIR)/mk/host-bottom.mk
65 include $(ADK_TOPDIR)/mk/pkg-bottom.mk