24 # |
24 # |
25 |
25 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= libxml2 |
28 COMPONENT_NAME= libxml2 |
29 COMPONENT_VERSION= 2.9.1 |
29 COMPONENT_VERSION= 2.9.2 |
30 COMPONENT_PROJECT_URL= http://xmlsoft.org/ |
30 COMPONENT_PROJECT_URL= http://xmlsoft.org/ |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
33 COMPONENT_ARCHIVE_HASH= \ |
33 COMPONENT_ARCHIVE_HASH= \ |
34 sha256:fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb |
34 sha256:5178c30b151d044aefb1b08bf54c3003a0ac55c59c866763997529d60770d5bc |
35 COMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE) |
35 COMPONENT_ARCHIVE_URL= ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE) |
36 COMPONENT_BUGDB= library/libxml |
36 COMPONENT_BUGDB= library/libxml |
37 |
37 |
38 # W3C XML Conformance Test Suites |
38 # W3C XML Conformance Test Suites |
39 COMPONENT_ARCHIVE_1= xmlts20080827.tar.gz |
39 COMPONENT_ARCHIVE_1= xmlts20080827.tar.gz |
40 COMPONENT_ARCHIVE_HASH_1= \ |
40 COMPONENT_ARCHIVE_HASH_1= \ |
41 sha256:96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7 |
41 sha256:96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7 |
42 COMPONENT_ARCHIVE_URL_1= http://www.w3.org/XML/Test/$(COMPONENT_ARCHIVE_1) |
42 COMPONENT_ARCHIVE_URL_1= http://www.w3.org/XML/Test/$(COMPONENT_ARCHIVE_1) |
43 |
43 |
44 TPNO= 17981 |
44 TPNO= 19552 |
45 |
45 |
46 include ../../make-rules/prep.mk |
46 include ../../make-rules/prep.mk |
47 include ../../make-rules/configure.mk |
47 include ../../make-rules/configure.mk |
48 include ../../make-rules/ips.mk |
48 include ../../make-rules/ips.mk |
49 include ../../make-rules/lint-libraries.mk |
49 include ../../make-rules/lint-libraries.mk |
53 |
53 |
54 CONFIGURE_OPTIONS += --disable-static |
54 CONFIGURE_OPTIONS += --disable-static |
55 CONFIGURE_OPTIONS += --with-pic |
55 CONFIGURE_OPTIONS += --with-pic |
56 CONFIGURE_OPTIONS += --with-threads |
56 CONFIGURE_OPTIONS += --with-threads |
57 CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS)) |
57 CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS)) |
|
58 CONFIGURE_OPTIONS += --with-python-install-dir=$(PYTHON_VENDOR_PACKAGES) |
58 # Cannot link to lzma since it's not in /lib. |
59 # Cannot link to lzma since it's not in /lib. |
59 CONFIGURE_OPTIONS += --without-lzma |
60 CONFIGURE_OPTIONS += --without-lzma |
60 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
61 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
61 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
62 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
62 CONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES) |
|
63 |
63 |
64 COMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoreconf -if) |
64 COMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoreconf -if) |
65 |
65 |
66 # After we have configured, make a copy of the python bits so we can build and |
66 # After we have configured, make a copy of the python bits so we can build and |
67 # test separate python 2.7 and 3.4 support. Note for 3.4: .py files need to |
67 # test separate python 2.7 and 3.4 support. Note for 3.4: .py files need to |