Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:= glib
  5. PKG_VERSION:= 2.22.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e699a93d62c01e0ee07caef3e11eddd8
  8. PKG_DESCR:= low-level core library that forms the basis of GTK+
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= gettext libiconv libpthread
  11. PKG_BUILDDEP:= gettext libiconv
  12. PKG_URL:= http://www.gtk.org/
  13. PKG_SITES:= ftp://ftp.gtk.org/pub/glib/2.22/
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,GLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ARGS+= --enable-debug=no \
  20. --disable-mem-pools \
  21. --disable-rebuilds \
  22. --with-libiconv=gnu \
  23. --disable-fam \
  24. --with-threads=posix
  25. CONFIGURE_ENV+= glib_cv_long_long_format=ll \
  26. glib_cv_stack_grows=no \
  27. glib_cv_have_strlcpy=no \
  28. glib_cv_uscore=no \
  29. ac_cv_func_posix_getpwuid_r=yes \
  30. ac_cv_func_posix_getgrgid_r=yes
  31. post-install:
  32. ${INSTALL_DIR} ${IDIR_GLIB}/usr/lib
  33. ${CP} ${WRKINST}/usr/lib/libgio*.so* ${IDIR_GLIB}/usr/lib
  34. ${CP} ${WRKINST}/usr/lib/libglib*.so* ${IDIR_GLIB}/usr/lib
  35. ${CP} ${WRKINST}/usr/lib/libgobject*.so* ${IDIR_GLIB}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/libgmodule*.so* ${IDIR_GLIB}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/libgthread*.so* ${IDIR_GLIB}/usr/lib
  38. include ${TOPDIR}/mk/pkg-bottom.mk