Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d9532826e95bdb374355deebc42441bb
  8. PKG_DESCR:= library for laying out and rendering of text
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libstdcxx
  11. PKG_BUILDDEP:= libXft glib cairo harfbuzz libstdcxx fontconfig
  12. HOST_BUILDDEP:= cairo-host harfbuzz-host
  13. PKG_URL:= http://www.pango.org/
  14. PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.36/}
  15. PKG_OPTS:= dev
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS+= libonly
  18. endif
  19. include ${TOPDIR}/mk/host.mk
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call HOST_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE}))
  22. $(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  23. HOST_STYLE:= auto
  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/pango/1.8.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.8.0/modules/*.so \
  31. $(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
  32. include ${TOPDIR}/mk/host-bottom.mk
  33. include ${TOPDIR}/mk/pkg-bottom.mk