Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_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 $(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. pre-install:
  22. $(INSTALL_DIR) $(WRKINST)/usr/include/harfbuzz
  23. $(CP) $(WRKBUILD)/src/hb-icu.h $(WRKINST)/usr/include/harfbuzz
  24. harfbuzz-install:
  25. $(INSTALL_DIR) $(IDIR_HARFBUZZ)/usr/lib
  26. $(CP) $(WRKINST)/usr/lib/libharfbuzz*.so* \
  27. $(IDIR_HARFBUZZ)/usr/lib
  28. include ${ADK_TOPDIR}/mk/host-bottom.mk
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk