Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= harfbuzz
  5. PKG_VERSION:= 0.9.28
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= accbeb679f39d839038b95a87e40870e
  8. PKG_DESCR:= opentype text shaping engine
  9. PKG_SECTION:= libs/fonts
  10. PKG_SITES:= http://www.freedesktop.org/software/harfbuzz/release/
  11. PKG_DEPENDS:= libstdcxx cairo icu4c
  12. PKG_BUILDDEP:= libstdcxx cairo icu4c
  13. HOST_BUILDDEP:= cairo-host icu4c-host
  14. PKG_OPTS:= dev
  15. PKG_ARCH_DEPENDS:= !m68k
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. include $(TOPDIR)/mk/host.mk
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. HOST_STYLE:= auto
  22. pre-install:
  23. $(INSTALL_DIR) $(WRKINST)/usr/include/harfbuzz
  24. $(CP) $(WRKBUILD)/src/hb-icu.h $(WRKINST)/usr/include/harfbuzz
  25. harfbuzz-install:
  26. $(INSTALL_DIR) $(IDIR_HARFBUZZ)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libharfbuzz*.so* \
  28. $(IDIR_HARFBUZZ)/usr/lib
  29. include ${TOPDIR}/mk/host-bottom.mk
  30. include ${TOPDIR}/mk/pkg-bottom.mk