Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:= gtk+
  5. PKG_VERSION:= 2.24.22
  6. PKG_EXTRAVER:= 2.24
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 5fbbfb7637bbd571a572a2dae0e736d2
  9. PKG_DESCR:= multi-platform toolkit for creating graphical user interfaces
  10. PKG_SECTION:= libs/misc
  11. PKG_DEPENDS:= glib libstdcxx
  12. PKG_BUILDDEP:= cairo atk pango libXext renderproto libXrender
  13. PKG_BUILDDEP+= gdk-pixbuf libXcomposite libXdamage
  14. PKG_URL:= http://www.gtk.org/
  15. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
  16. PKG_LIBNAME:= libgtk
  17. PKG_OPTS:= dev
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  21. --disable-modules \
  22. --disable-xinerama \
  23. --without-xinput \
  24. --disable-gtk-doc \
  25. --disable-cups \
  26. --disable-papi \
  27. --disable-introspection
  28. CONFIGURE_ENV+= gio_can_sniff=no \
  29. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  30. libgtk-install:
  31. ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
  32. ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK}/usr/lib
  33. ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK}/usr/lib
  34. ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK}/usr/lib
  35. # workaround dev subpackage
  36. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  37. ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
  38. ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  39. include ${TOPDIR}/mk/pkg-bottom.mk