Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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
  14. PKG_URL:= http://www.gtk.org/
  15. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/$(PKG_EXTRAVER)/
  16. PKG_SUBPKGS:= LIBGTK
  17. ifeq ($(ADK_STATIC),y)
  18. PKG_OPTS:= libonly
  19. endif
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,LIBGTK,libgtk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. CONFIGURE_ARGS+= --disable-gtk-doc-html \
  23. --disable-modules \
  24. --disable-xinerama \
  25. --without-xinput \
  26. --disable-gtk-doc \
  27. --disable-papi \
  28. --disable-introspection
  29. CONFIGURE_ENV+= gio_can_sniff=no \
  30. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  31. post-install:
  32. ${INSTALL_DIR} ${IDIR_LIBGTK}/usr/lib
  33. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBGTK}/usr/lib
  34. include ${TOPDIR}/mk/pkg-bottom.mk