Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.18.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d53836f7fdd9970d03e255e9d712bd83
  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_URL:= http://www.gtk.org/
  12. PKG_SITES:= ftp://ftp.gtk.org/pub/glib/2.18/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,GLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TCPPFLAGS+= -I'${STAGING_DIR}/usr/include'
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ARGS+= --enable-debug=no \
  18. --disable-mem-pools \
  19. --disable-rebuilds \
  20. --with-libiconv=gnu \
  21. --with-threads=posix
  22. CONFIGURE_ENV+= glib_cv_long_long_format=ll \
  23. glib_cv_stack_grows=no \
  24. glib_cv_have_strlcpy=no \
  25. glib_cv_uscore=no \
  26. ac_cv_func_posix_getpwuid_r=yes \
  27. ac_cv_func_posix_getgrgid_r=yes
  28. BUILD_STYLE= auto
  29. INSTALL_STYLE= auto confprog
  30. post-install:
  31. ${INSTALL_DIR} ${IDIR_GLIB}/usr/lib
  32. ${CP} ${WRKINST}/usr/lib/lib*.so.* ${IDIR_GLIB}/usr/lib
  33. include ${TOPDIR}/mk/pkg-bottom.mk