Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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.3
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= zlib
  8. PKG_MD5SUM:= 8f4fda3969237c2a33bdb1583b5d06b2
  9. PKG_DESCR:= XML C parser and toolkit
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= zlib
  12. PKG_URL:= http://www.xmlsoft.org/
  13. PKG_SITES:= http://xmlsoft.org/sources/ \
  14. ftp://fr.rpmfind.net/pub/libxml/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBXML2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE= gnu
  18. CONFIGURE_ARGS+= --without-c14n \
  19. --without-catalog \
  20. --without-debug \
  21. --without-docbook \
  22. --with-html \
  23. --without-ftp \
  24. --without-http \
  25. --without-iconv \
  26. --without-iso8859x \
  27. --without-legacy \
  28. --with-output \
  29. --without-pattern \
  30. --without-push \
  31. --without-python \
  32. --with-reader \
  33. --without-readline \
  34. --without-regexps \
  35. --with-sax1 \
  36. --with-schemas \
  37. --with-threads \
  38. --with-tree \
  39. --with-valid \
  40. --with-writer \
  41. --with-xinclude \
  42. --with-xpath \
  43. --with-xptr \
  44. --with-zlib
  45. BUILD_STYLE= auto
  46. INSTALL_STYLE= auto confprog
  47. post-install:
  48. ${INSTALL_DIR} ${IDIR_LIBXML2}/usr/lib
  49. ${CP} ${WRKINST}/usr/lib/libxml2.so.* ${IDIR_LIBXML2}/usr/lib/
  50. include ${TOPDIR}/mk/pkg-bottom.mk