Makefile 1.4 KB

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