baremetal fix
[openadk.git] / package / harfbuzz / Makefile
blob41711b0e42c9c1d31c61c8e655d4d3cfbd99d590
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:= 1.4.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= 8f234dcfab000fdec24d43674fffa2fdbdbd654eb176afbde30e8826339cb7b3
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:= cairo icu4c
14 PKG_BUILDDEP:= cairo icu4c
15 HOST_BUILDDEP:= cairo-host icu4c-host
16 PKG_NEEDS:= c++
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
21 include $(ADK_TOPDIR)/mk/host.mk
22 include $(ADK_TOPDIR)/mk/package.mk
24 $(eval $(call HOST_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE}))
25 $(eval $(call PKG_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 HOST_LDFLAGS+= -lpthread -lrt
28 HOST_STYLE:= auto
30 harfbuzz-install:
31 $(INSTALL_DIR) $(IDIR_HARFBUZZ)/usr/lib
32 $(CP) $(WRKINST)/usr/lib/libharfbuzz*.so* \
33 $(IDIR_HARFBUZZ)/usr/lib
35 include ${ADK_TOPDIR}/mk/host-bottom.mk
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk