Makefile 948 B

1234567891011121314151617181920212223242526272829303132
  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:= cairo
  5. PKG_VERSION:= 1.8.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b60a82f405f9400bbfdcf850b1728d25
  8. PKG_DESCR:= cairo graphics library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= fontconfig libfreetype libpng libx11 pixman
  11. PKG_BUILDDEP+= libpng pixman freetype fontconfig libX11
  12. PKG_URL:= http://cairographics.org/
  13. PKG_SITES:= http://cairographics.org/releases/
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,CAIRO,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ARGS+= --enable-ft=yes \
  20. --enable-xlib=yes
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libcairo.so* ${IDIR_CAIRO}/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk