Makefile 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.18.6
  6. PKG_EXTRAVER:= 2.18
  7. PKG_RELEASE:= 2
  8. PKG_MD5SUM:= f98617af9f6be3065f64248f78dae2b7
  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_SUBPKGS:= LIBGTK LIBGTK_DEV
  18. PKGSC_LIBGTK_DEV:= devel
  19. PKGSD_LIBGTK_DEV:= GTK+ headers
  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. $(eval $(call PKG_template,LIBGTK_DEV,libgtk-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGTK_DEV},${PKGSC_LIBGTK_DEV},${PKG_OPTS}))
  26. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  27. --disable-modules \
  28. --disable-xinerama \
  29. --without-xinput \
  30. --disable-gtk-doc \
  31. --disable-cups \
  32. --disable-papi \
  33. --disable-introspection
  34. CONFIGURE_ENV+= gio_can_sniff=no \
  35. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  36. libgtk-install:
  37. ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
  38. ${CP} ${WRKINST}/usr/lib/libgdk-x11*so* ${IDIR_LIBGTK}/usr/lib
  39. ${CP} ${WRKINST}/usr/lib/libgtk-x11*so* ${IDIR_LIBGTK}/usr/lib
  40. ${CP} ${WRKINST}/usr/lib/libgailutil*so* ${IDIR_LIBGTK}/usr/lib
  41. libgtk-dev-install:
  42. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/include
  43. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBGTK_DEV}/usr/include
  44. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  45. ${CP} ${WRKINST}/usr/lib/gtk-2.0/include/* \
  46. ${IDIR_LIBGTK_DEV}/usr/lib/gtk-2.0/include
  47. ${INSTALL_DIR} ${IDIR_LIBGTK_DEV}/usr/lib/pkgconfig
  48. ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc ${IDIR_LIBGTK_DEV}/usr/lib/pkgconfig
  49. include ${TOPDIR}/mk/pkg-bottom.mk