Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. PKG_SUBPKGS:= LIBXML2 LIBXML2_DEV
  15. PKGSD_LIBXML2_DEV:= XML parser headers
  16. PKGSC_LIBXML2_DEV:= devel
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBXML2,libxml,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBXML2_DEV,libxml2-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXML2_DEV},${PKGSC_LIBXML2_DEV}))
  20. CONFIGURE_ARGS+= --without-c14n \
  21. --without-catalog \
  22. --without-debug \
  23. --without-docbook \
  24. --with-html \
  25. --without-ftp \
  26. --without-http \
  27. --without-iconv \
  28. --without-iso8859x \
  29. --without-legacy \
  30. --with-output \
  31. --without-pattern \
  32. --without-push \
  33. --without-python \
  34. --with-reader \
  35. --without-readline \
  36. --without-regexps \
  37. --with-sax1 \
  38. --with-schemas \
  39. --with-threads \
  40. --with-tree \
  41. --with-valid \
  42. --with-writer \
  43. --with-xinclude \
  44. --with-xpath \
  45. --with-xptr \
  46. --with-zlib
  47. libxml2-install:
  48. ${INSTALL_DIR} ${IDIR_LIBXML2}/usr/lib
  49. ${CP} ${WRKINST}/usr/lib/libxml2.so* ${IDIR_LIBXML2}/usr/lib
  50. libxml2-dev-install:
  51. ${INSTALL_DIR} ${IDIR_LIBXML2_DEV}/usr/include
  52. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXML2_DEV}/usr/include
  53. include ${TOPDIR}/mk/pkg-bottom.mk