Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= libxml2
  5. PKG_VERSION:= 2.7.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7740a8ec23878a2f50120e1faa2730f2
  8. PKG_DESCR:= XML C parser and toolkit
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP:= zlib
  12. PKG_URL:= http://www.xmlsoft.org/
  13. PKG_SITES:= http://xmlsoft.org/sources/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBXML2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --without-c14n \
  17. --without-catalog \
  18. --without-debug \
  19. --without-docbook \
  20. --with-html \
  21. --without-ftp \
  22. --without-http \
  23. --without-iconv \
  24. --without-iso8859x \
  25. --without-legacy \
  26. --with-output \
  27. --without-pattern \
  28. --without-push \
  29. --without-python \
  30. --with-reader \
  31. --without-readline \
  32. --without-regexps \
  33. --with-sax1 \
  34. --with-schemas \
  35. --with-threads \
  36. --with-tree \
  37. --with-valid \
  38. --with-writer \
  39. --with-xinclude \
  40. --with-xpath \
  41. --with-xptr \
  42. --with-zlib
  43. post-install:
  44. ${INSTALL_DIR} ${IDIR_LIBXML2}/usr/lib
  45. ${CP} ${WRKINST}/usr/lib/libxml2.so* ${IDIR_LIBXML2}/usr/lib/
  46. include ${TOPDIR}/mk/pkg-bottom.mk