Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= 1.0.6
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26
  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:= cairo icu4c
  12. PKG_BUILDDEP:= cairo icu4c
  13. HOST_BUILDDEP:= cairo-host icu4c-host
  14. PKG_NEEDS:= c++
  15. PKG_OPTS:= dev
  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