1
0

Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_SUBPKGS:= LIBXSLT XSLTPROC
  15. PKGSD_XSLTPROC:= xslt processor utility
  16. PKGSC_XSLTPROC:= misc
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBXSLT,libxslt,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,XSLTPROC,xsltproc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XSLTPROC},${PKGSC_XSLTPROC}))
  20. CONFIGURE_ARGS+= --with-libxml-prefix="${STAGING_TARGET_DIR}/usr" \
  21. --with-libxml-include-prefix="${STAGING_TARGET_DIR}/usr/include/libxml2" \
  22. --with-libxml-libs-prefix="${STAGING_TARGET_DIR}/usr/lib" \
  23. --without-python \
  24. --without-crypto \
  25. --without-debug \
  26. --without-mem-debug \
  27. --without-debugger
  28. xsltproc-install:
  29. ${INSTALL_DIR} ${IDIR_XSLTPROC}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/xsltproc ${IDIR_XSLTPROC}/usr/bin
  31. libxslt-install:
  32. ${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib
  33. ${CP} ${WRKINST}/usr/lib/libxslt.so* ${IDIR_LIBXSLT}/usr/lib/
  34. include ${TOPDIR}/mk/pkg-bottom.mk