Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_BUILDDEP:= libXft
  11. PKG_URL:= http://www.pango.org/
  12. PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.28/}
  13. PKG_NEED_CXX:= 1
  14. PKG_SUBPKGS:= PANGO PANGO_DEV
  15. PKGSC_PANGO_DEV:= devel
  16. PKGSD_PANGO_DEV:= pango headers
  17. ifeq ($(ADK_STATIC),y)
  18. PKG_OPTS:= libonly
  19. endif
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. $(eval $(call PKG_template,PANGO_DEV,pango-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PANGO_DEV},${PKGSC_PANGO_DEV},${PKG_OPTS}))
  23. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  24. CONFIGURE_ENV+= ac_cv_path_EGREP="grep -E"
  25. pango-install:
  26. $(INSTALL_DIR) $(IDIR_PANGO)/etc/pango
  27. $(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules
  28. $(INSTALL_DATA) ./files/pango.modules $(IDIR_PANGO)/etc/pango
  29. $(CP) $(WRKINST)/usr/lib/libpango*.so* $(IDIR_PANGO)/usr/lib
  30. $(CP) $(WRKINST)/usr/lib/pango/1.6.0/modules/*.so \
  31. $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules
  32. pango-dev-install:
  33. $(INSTALL_DIR) $(IDIR_PANGO_DEV)/usr/include
  34. ${CP} $(WRKINST)/usr/include/* \
  35. $(IDIR_PANGO_DEV)/usr/include
  36. $(INSTALL_DIR) $(IDIR_PANGO_DEV)/usr/lib/pkgconfig
  37. ${CP} $(WRKINST)/usr/lib/pkgconfig/*.pc \
  38. $(IDIR_PANGO_DEV)/usr/lib/pkgconfig
  39. include ${TOPDIR}/mk/pkg-bottom.mk