Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= pango
  5. PKG_VERSION:= 1.28.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 22ad1c8d3fda7e73b0798035f3dd96bc
  8. PKG_DESCR:= pango library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.pango.org/
  11. PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.28/}
  12. PKG_NEED_CXX:= 1
  13. PKG_SUBPKGS:= PANGO PANGO_DEV
  14. PKGSC_PANGO_DEV:= devel
  15. PKGSD_PANGO_DEV:= pango headers
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS:= libonly
  18. endif
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. $(eval $(call PKG_template,PANGO_DEV,pango-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PANGO_DEV},${PKGSC_PANGO_DEV},${PKG_OPTS}))
  22. pango-install:
  23. $(INSTALL_DIR) $(IDIR_PANGO)/etc/pango
  24. $(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules
  25. $(INSTALL_DATA) ./files/pango.modules $(IDIR_PANGO)/etc/pango
  26. $(CP) $(WRKINST)/usr/lib/libpango*.so* $(IDIR_PANGO)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/pango/1.6.0/modules/*.so \
  28. $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules
  29. pango-dev-install:
  30. $(INSTALL_DIR) $(IDIR_PANGO_DEV)/usr/include
  31. ${CP} $(WRKINST)/usr/include/* \
  32. $(IDIR_PANGO_DEV)/usr/include
  33. $(INSTALL_DIR) $(IDIR_PANGO_DEV)/usr/lib/pkgconfig
  34. ${CP} $(WRKINST)/usr/lib/pkgconfig/*.pc \
  35. $(IDIR_PANGO_DEV)/usr/lib/pkgconfig
  36. include ${TOPDIR}/mk/pkg-bottom.mk