binutils: allow static linking
[openadk.git] / package / libxml2 / Makefile
blob078788d7ef774a91e5733a298a4e13e453b4abaf
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_CONFIGURE_ARGS+= --without-python \
26 --with-threads \
27 --without-iconv \
28 --without-lzma \
29 --without-zlib
31 CONFIGURE_ARGS+= --without-c14n \
32 --without-debug \
33 --with-catalog \
34 --with-html \
35 --without-ftp \
36 --without-http \
37 --without-iconv \
38 --without-lzma \
39 --without-iso8859x \
40 --without-legacy \
41 --with-output \
42 --without-pattern \
43 --without-push \
44 --with-reader \
45 --without-readline \
46 --without-regexps \
47 --with-sax1 \
48 --with-schemas \
49 --with-threads \
50 --with-tree \
51 --with-valid \
52 --with-writer \
53 --with-xinclude \
54 --with-xpath \
55 --with-xptr \
56 --without-python \
57 --with-zlib='$(STAGING_TARGET_DIR)/usr'
59 libxml2-install:
60 $(INSTALL_DIR) $(IDIR_LIBXML2)/usr/lib
61 $(CP) $(WRKINST)/usr/lib/libxml2.so* $(IDIR_LIBXML2)/usr/lib
63 include $(ADK_TOPDIR)/mk/host-bottom.mk
64 include $(ADK_TOPDIR)/mk/pkg-bottom.mk