Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= pixman
  5. PKG_VERSION:= 0.20.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a923c20af88e469ac29ba42cfedb88c2
  8. PKG_DESCR:= Pixel manipulation library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= libpng
  11. PKG_SITES:= http://www.cairographics.org/releases/
  12. PKG_SUBPKGS:= PIXMAN PIXMAN_DEV
  13. PKGSC_PIXMAN_DEV:= devel
  14. PKGSD_PIXMAN_DEV:= Pixel manipulation headers
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS:= libonly
  17. endif
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,PIXMAN,pixman,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. $(eval $(call PKG_template,PIXMAN_DEV,pixman-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PIXMAN_DEV},${PKGSC_PIXMAN_DEV},${PKG_OPTS}))
  21. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  22. CONFIGURE_ARGS+= --disable-gtk
  23. pixman-install:
  24. ${INSTALL_DIR} ${IDIR_PIXMAN}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libpixman-1.so* ${IDIR_PIXMAN}/usr/lib
  26. pixman-dev-install:
  27. ${INSTALL_DIR} ${IDIR_PIXMAN_DEV}/usr/include
  28. ${CP} ${WRKINST}/usr/include/* \
  29. ${IDIR_PIXMAN_DEV}/usr/include
  30. ${INSTALL_DIR} ${IDIR_PIXMAN_DEV}/usr/lib/pkgconfig
  31. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  32. ${IDIR_PIXMAN_DEV}/usr/lib/pkgconfig
  33. include ${TOPDIR}/mk/pkg-bottom.mk