update to latest upstream
[openadk.git] / package / harfbuzz / Makefile
blobd6b4453bdd9353cf8f7c6a4ea7f278391f0e322f
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= harfbuzz
7 PKG_VERSION:= 0.9.28
8 PKG_RELEASE:= 1
9 PKG_HASH:= a567f7c58018af0a9751e18641fd8434bfcef8307122dabe47dd652ce8bde048
10 PKG_DESCR:= opentype text shaping engine
11 PKG_SECTION:= libs/fonts
12 PKG_SITES:= http://www.freedesktop.org/software/harfbuzz/release/
13 PKG_DEPENDS:= libstdcxx cairo icu4c
14 PKG_BUILDDEP:= libstdcxx cairo icu4c
15 HOST_BUILDDEP:= cairo-host icu4c-host
16 PKG_OPTS:= dev
18 PKG_ARCH_DEPENDS:= !m68k
20 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
22 include $(ADK_TOPDIR)/mk/host.mk
23 include $(ADK_TOPDIR)/mk/package.mk
25 $(eval $(call HOST_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE}))
26 $(eval $(call PKG_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 AUTOTOOL_STYLE:= autoreconf
30 pre-install:
31 $(INSTALL_DIR) $(WRKINST)/usr/include/harfbuzz
32 $(CP) $(WRKBUILD)/src/hb-icu.h $(WRKINST)/usr/include/harfbuzz
34 harfbuzz-install:
35 $(INSTALL_DIR) $(IDIR_HARFBUZZ)/usr/lib
36 $(CP) $(WRKINST)/usr/lib/libharfbuzz*.so* \
37 $(IDIR_HARFBUZZ)/usr/lib
39 include ${ADK_TOPDIR}/mk/host-bottom.mk
40 include ${ADK_TOPDIR}/mk/pkg-bottom.mk