Makefile 996 B

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.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. PKG_SUBPKGS:= GTK
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS:= libonly
  17. endif
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,GTK,libgtk+,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIGURE_ENV+= gio_can_sniff=no \
  21. ac_cv_path_GTK_UPDATE_ICON_CACHE=""
  22. CONFIGURE_ARGS+= --without-libtiff \
  23. --without-libjpeg
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_GTK}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_GTK}/usr/lib
  27. include ${TOPDIR}/mk/pkg-bottom.mk