Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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.3
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= cairo atk pango libXext renderproto libXrender
  8. PKG_MD5SUM:= 8b34f75642ff6cc783dfa7e3af0ba443
  9. PKG_DESCR:= GTK+ library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= glib
  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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_STYLE:= gnu
  20. CONFIGURE_ENV+= gio_can_sniff=no \
  21. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  22. CONFIGURE_ARGS+= --without-libtiff \
  23. --without-libjpeg
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_GTK}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_GTK}/usr/lib
  29. include ${TOPDIR}/mk/pkg-bottom.mk