diff options
Diffstat (limited to 'package/libxml2/Makefile')
-rw-r--r-- | package/libxml2/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/package/libxml2/Makefile b/package/libxml2/Makefile index 6b48226e6..d033af17d 100644 --- a/package/libxml2/Makefile +++ b/package/libxml2/Makefile @@ -5,12 +5,12 @@ include ${TOPDIR}/rules.mk PKG_NAME:= libxml2 PKG_VERSION:= 2.9.1 -PKG_RELEASE:= 3 +PKG_RELEASE:= 4 PKG_MD5SUM:= 9c0cfef285d5c4a5c80d00904ddab380 PKG_DESCR:= XML C parser and toolkit PKG_SECTION:= libs PKG_DEPENDS:= zlib -PKG_BUILDDEP:= zlib +PKG_BUILDDEP:= zlib autotool PKG_URL:= http://www.xmlsoft.org/ PKG_SITES:= http://xmlsoft.org/sources/ PKG_OPTS:= dev @@ -31,10 +31,11 @@ $(eval $(call PKG_template,LIBXML2_PYTHON,libxml2-python,${PKG_VERSION}-${PKG_RE include $(TOPDIR)/mk/python.mk +AUTOTOOL_STYLE:= autoreconf TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) TARGET_LDFLAGS+= -lpthread ifneq ($(ADK_PACKAGE_LIBXML2_PYTHON),) -CONFIGURE_ARGS+= --with-python=${STAGING_DIR}/usr +CONFIGURE_ARGS+= --with-python=$(STAGING_TARGET_DIR)/usr else CONFIGURE_ARGS+= --without-python endif @@ -65,16 +66,13 @@ CONFIGURE_ARGS+= --without-c14n \ --with-xptr \ --with-zlib -pre-configure: - ${INSTALL_DIR} ${STAGING_DIR}/usr/lib/site-packages - libxml2-install: ${INSTALL_DIR} ${IDIR_LIBXML2}/usr/lib ${CP} ${WRKINST}/usr/lib/libxml2.so* ${IDIR_LIBXML2}/usr/lib libxml2-python-install: $(INSTALL_DIR) $(IDIR_LIBXML2_PYTHON)/usr/lib/python$(PYTHON_VERSION)/site-packages - $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \ + $(CP) $(WRKINST)/usr/lib/python$(PYTHON_VERSION)/site-packages/*.{so,py} \ $(IDIR_LIBXML2_PYTHON)/usr/lib/python$(PYTHON_VERSION)/site-packages include ${TOPDIR}/mk/pkg-bottom.mk |