Makefile 1.3 KB

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