Makefile 1.2 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:= pango
  5. PKG_VERSION:= 1.36.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9e0d3a1ea395172f8c39ba98a4d2081a
  8. PKG_DESCR:= pango library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= libXft glib cairo harfbuzz libstdcxx fontconfig
  11. PKG_URL:= http://www.pango.org/
  12. PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.36/}
  13. PKG_NEED_CXX:= 1
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  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. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  22. CONFIGURE_ENV+= ac_cv_path_EGREP="grep -E"
  23. pango-install:
  24. $(INSTALL_DIR) $(IDIR_PANGO)/etc/pango
  25. $(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
  26. $(INSTALL_DATA) ./files/pango.modules $(IDIR_PANGO)/etc/pango
  27. $(CP) $(WRKINST)/usr/lib/libpango*.so* $(IDIR_PANGO)/usr/lib
  28. $(CP) $(WRKINST)/usr/lib/pango/1.8.0/modules/*.so \
  29. $(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
  30. include ${TOPDIR}/mk/pkg-bottom.mk