Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= glib
  7. PKG_VERSION:= 2.18.1
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= d53836f7fdd9970d03e255e9d712bd83
  10. PKG_DESCR:= low-level core library that forms the basis of GTK+
  11. PKG_SECTION:= libs
  12. PKG_DEPENDS:= gettext libiconv libpthread
  13. PKG_URL:= http://www.gtk.org/
  14. PKG_SITES:= ftp://ftp.gtk.org/pub/glib/2.18/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,GLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TCPPFLAGS+= -I'${STAGING_DIR}/usr/include'
  18. CONFIGURE_STYLE= gnu
  19. CONFIGURE_ARGS+= --enable-debug=no \
  20. --disable-mem-pools \
  21. --disable-rebuilds \
  22. --with-libiconv=gnu \
  23. --with-threads=posix
  24. CONFIGURE_ENV+= glib_cv_long_long_format=ll \
  25. glib_cv_stack_grows=no \
  26. glib_cv_have_strlcpy=no \
  27. glib_cv_uscore=no \
  28. ac_cv_func_posix_getpwuid_r=yes \
  29. ac_cv_func_posix_getgrgid_r=yes
  30. BUILD_STYLE= auto
  31. INSTALL_STYLE= auto confprog
  32. post-install:
  33. ${INSTALL_DIR} ${IDIR_GLIB}/usr/lib
  34. ${CP} ${WRKINST}/usr/lib/lib*.so.* ${IDIR_GLIB}/usr/lib
  35. include ${TOPDIR}/mk/pkg-bottom.mk