Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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:= libxslt
  5. PKG_VERSION:= 1.1.24
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e83ec5d27fc4c10c6f612879bea9a153
  8. PKG_DESCR:= XSLT Library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libxml2
  11. PKG_BUILDDEP:= libxml2
  12. PKG_URL:= http://xmlsoft.org/XSLT
  13. PKG_SITES:= http://xmlsoft.org/sources/
  14. PKG_NEED_CXX:= 1
  15. PKG_SUBPKGS:= LIBXSLT LIBXSLT_DEV XSLTPROC
  16. PKGSD_LIBXSLT_DEV:= XSLT headers
  17. PKGSC_LIBXSLT_DEV:= devel
  18. PKGSD_XSLTPROC:= XSLT processor utility
  19. PKGSC_XSLTPROC:= misc
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBXSLT_DEV,libxslt-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXSLT_DEV},${PKGSC_LIBXSLT_DEV}))
  23. $(eval $(call PKG_template,XSLTPROC,xsltproc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XSLTPROC},${PKGSC_XSLTPROC}))
  24. CONFIGURE_ARGS+= --with-libxml-prefix="${STAGING_TARGET_DIR}/usr" \
  25. --with-libxml-include-prefix="${STAGING_TARGET_DIR}/usr/include/libxml2" \
  26. --with-libxml-libs-prefix="${STAGING_TARGET_DIR}/usr/lib" \
  27. --without-python \
  28. --without-crypto \
  29. --without-debug \
  30. --without-mem-debug \
  31. --without-debugger
  32. xsltproc-install:
  33. ${INSTALL_DIR} ${IDIR_XSLTPROC}/usr/bin
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/xsltproc ${IDIR_XSLTPROC}/usr/bin
  35. libxslt-install:
  36. ${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib
  38. libxslt-dev-install:
  39. ${INSTALL_DIR} ${IDIR_LIBXSLT_DEV}/usr/include
  40. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXSLT_DEV}/usr/include
  41. ${INSTALL_DIR} ${IDIR_LIBXSLT_DEV}/usr/bin
  42. ${INSTALL_BIN} ${WRKINST}/usr/bin/xslt-config \
  43. ${IDIR_LIBXSLT_DEV}/usr/bin
  44. include ${TOPDIR}/mk/pkg-bottom.mk