Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= freetype
  5. PKG_VERSION:= 2.5.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= cafe9f210e45360279c730d27bf071e9
  8. PKG_DESCR:= free, high-quality and portable font engine
  9. PKG_SECTION:= libs/fonts
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP:= zlib
  12. PKG_URL:= http://www.freetype.org/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=freetype/}
  14. PKG_LIBNAME:= libfreetype
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include ${ADK_TOPDIR}/mk/host.mk
  18. include ${ADK_TOPDIR}/mk/package.mk
  19. $(eval $(call HOST_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. HOST_STYLE:= auto
  22. HOST_CONFIGURE_ARGS+= --with-zlib \
  23. --without-png \
  24. --without-bzip2
  25. CONFIGURE_ARGS+= --with-zlib \
  26. --without-png \
  27. --with-harfbuzz=no \
  28. --without-bzip2
  29. libfreetype-install:
  30. ${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
  31. ${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
  32. include ${ADK_TOPDIR}/mk/host-bottom.mk
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk