Makefile 976 B

12345678910111213141516171819202122232425262728293031323334
  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_RELEASE:= 1
  7. PKG_MD5SUM:= f98617af9f6be3065f64248f78dae2b7
  8. PKG_DESCR:= GTK+ library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= glib
  11. PKG_BUILDDEP+= cairo atk pango libXext renderproto libXrender
  12. PKG_URL:= http://www.gtk.org/
  13. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,GTK,libgtk+,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ENV+= gio_can_sniff=no \
  20. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  21. CONFIGURE_ARGS+= --without-libtiff \
  22. --without-libjpeg
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_GTK}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_GTK}/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk