Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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:= GTK+ library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= glib
  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_NEED_CXX:= 1
  17. PKG_LIBNAME:= libgtk
  18. PKG_OPTS:= dev
  19. PKG_ARCH_DEPENDS:= !m68k
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libonly
  22. endif
  23. include ${TOPDIR}/mk/package.mk
  24. $(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  25. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  26. --disable-modules \
  27. --disable-xinerama \
  28. --without-xinput \
  29. --disable-gtk-doc \
  30. --disable-cups \
  31. --disable-papi \
  32. --disable-introspection
  33. CONFIGURE_ENV+= gio_can_sniff=no \
  34. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  35. libgtk-install:
  36. ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK}/usr/lib
  38. ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK}/usr/lib
  39. ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK}/usr/lib
  40. # workaround dev subpackage
  41. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  42. ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
  43. ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  44. include ${TOPDIR}/mk/pkg-bottom.mk