Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.2
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= gettext libiconv
  8. PKG_MD5SUM:= 00eb873975e2ef9361b8177131c7c943
  9. PKG_DESCR:= low-level core library that forms the basis of GTK+
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= gettext libiconv libpthread
  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_STYLE:= gnu
  20. CONFIGURE_ARGS+= --enable-debug=no \
  21. --disable-mem-pools \
  22. --disable-rebuilds \
  23. --with-libiconv=gnu \
  24. --disable-fam \
  25. --with-threads=posix
  26. CONFIGURE_ENV+= glib_cv_long_long_format=ll \
  27. glib_cv_stack_grows=no \
  28. glib_cv_have_strlcpy=no \
  29. glib_cv_uscore=no \
  30. ac_cv_func_posix_getpwuid_r=yes \
  31. ac_cv_func_posix_getgrgid_r=yes
  32. BUILD_STYLE:= auto
  33. INSTALL_STYLE:= auto
  34. post-install:
  35. ${INSTALL_DIR} ${IDIR_GLIB}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/lib*.so.* ${IDIR_GLIB}/usr/lib
  37. include ${TOPDIR}/mk/pkg-bottom.mk