summaryrefslogtreecommitdiff
path: root/package/freetype
diff options
context:
space:
mode:
Diffstat (limited to 'package/freetype')
-rw-r--r--package/freetype/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/freetype/Makefile b/package/freetype/Makefile
index b5d239569..492adb046 100644
--- a/package/freetype/Makefile
+++ b/package/freetype/Makefile
@@ -10,7 +10,7 @@ PKG_MD5SUM:= a359993ad0dc23323c676b04fdb57110
PKG_DESCR:= A free, high-quality and portable font engine
PKG_SECTION:= libs
PKG_DEPENDS:= zlib
-PKG_BUILDDEP:= zlib
+PKG_BUILDDEP:= zlib freetype-host
PKG_URL:= http://www.freetype.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freetype/}
PKG_LIBNAME:= libfreetype
@@ -20,14 +20,18 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libonly
endif
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
CONFIGURE_ARGS+= --without-png
libfreetype-install:
${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk