Makefile 1011 B

1234567891011121314151617181920212223242526272829303132333435
  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.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d3e1a1035ae563812d4dd44a74fb0dd0
  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_STYLE:= gnu
  20. CONFIGURE_ARGS+= --enable-ft=yes \
  21. --enable-xlib=yes
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libcairo.so* ${IDIR_CAIRO}/usr/lib
  27. include ${TOPDIR}/mk/pkg-bottom.mk