1
0

Makefile 1.3 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= harfbuzz
  5. PKG_VERSION:= 0.9.28
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= a567f7c58018af0a9751e18641fd8434bfcef8307122dabe47dd652ce8bde048
  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 $(ADK_TOPDIR)/mk/host.mk
  18. include $(ADK_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. AUTOTOOL_STYLE:= autoreconf
  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 ${ADK_TOPDIR}/mk/host-bottom.mk
  30. include ${ADK_TOPDIR}/mk/pkg-bottom.mk