Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a359993ad0dc23323c676b04fdb57110
  8. PKG_DESCR:= A 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. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS+= libonly
  18. endif
  19. include ${TOPDIR}/mk/host.mk
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call HOST_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE}))
  22. $(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. HOST_STYLE:= auto
  24. HOST_CONFIGURE_ARGS+= --without-png
  25. CONFIGURE_ARGS+= --without-png
  26. libfreetype-install:
  27. ${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
  29. include ${TOPDIR}/mk/host-bottom.mk
  30. include ${TOPDIR}/mk/pkg-bottom.mk