Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= 2
  7. PKG_MD5SUM:= 22ad1c8d3fda7e73b0798035f3dd96bc
  8. PKG_DESCR:= pango library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= libXft glib cairo libstdcxx fontconfig
  11. PKG_URL:= http://www.pango.org/
  12. PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.28/}
  13. PKG_NEED_CXX:= 1
  14. PKG_OPTS:= dev
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS+= libonly
  17. endif
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  21. CONFIGURE_ENV+= ac_cv_path_EGREP="grep -E"
  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. include ${TOPDIR}/mk/pkg-bottom.mk