Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= freetype
  5. PKG_VERSION:= 2.5.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= cafe9f210e45360279c730d27bf071e9
  8. PKG_DESCR:= free, high-quality and portable font engine
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= zlib
  11. PKG_BUILDDEP:= zlib freetype-host
  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. ifeq ($(ADK_STATIC),y)
  18. PKG_OPTS+= libonly
  19. endif
  20. include ${TOPDIR}/mk/host.mk
  21. include ${TOPDIR}/mk/package.mk
  22. $(eval $(call HOST_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE}))
  23. $(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  24. HOST_STYLE:= auto
  25. HOST_CONFIGURE_ARGS+= --with-zlib \
  26. --without-png \
  27. --without-bzip2
  28. CONFIGURE_ARGS+= --with-zlib \
  29. --without-png \
  30. --without-bzip2
  31. libfreetype-install:
  32. ${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
  33. ${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
  34. include ${TOPDIR}/mk/host-bottom.mk
  35. include ${TOPDIR}/mk/pkg-bottom.mk