Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= glib2
  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. DISTFILES= glib-${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/glib-${PKG_VERSION}
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,GLIB2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TCPPFLAGS+= -I'${STAGING_DIR}/usr/include'
  20. CONFIGURE_STYLE= gnu
  21. CONFIGURE_ARGS+= --enable-debug=no \
  22. --disable-mem-pools \
  23. --disable-rebuilds \
  24. --with-libiconv=gnu \
  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 confprog
  34. post-install:
  35. ${INSTALL_DIR} ${IDIR_GLIB2}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/lib*.so.* ${IDIR_GLIB2}/usr/lib
  37. include ${TOPDIR}/mk/pkg-bottom.mk