Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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:= 1.2.10
  8. PKG_RELEASE:= 2
  9. PKG_MD5SUM:= 6fe30dad87c77b91b632def29dd69ef9
  10. MASTER_SITES:= ftp://ftp.gtk.org/pub/gtk/v1.2/ \
  11. http://ftp.gwdg.de/pub/misc/grafik/gimp/gtk/v1.2/ \
  12. http://ftp.esat.net/mirrors/ftp.gimp.org/pub/gtk/v1.2/ \
  13. http://www.mirrorservice.org/sites/ftp.gimp.org/pub/gtk/v1.2/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,GLIB1,glib1,${PKG_VERSION}-${PKG_RELEASE}))
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ENV+= glib_cv_sizeof_gmutex=24 \
  18. ac_cv_sizeof_char=1 \
  19. ac_cv_sizeof_short=2 \
  20. ac_cv_sizeof_int=4 \
  21. ac_cv_sizeof_long=4 \
  22. ac_cv_sizeof_long_long=8 \
  23. ac_cv_sizeof_void_p=4 \
  24. glib_cv_prog_cc_ansi_proto="no" \
  25. glib_cv_has__inline="yes" \
  26. glib_cv_has__inline__="yes" \
  27. glib_cv_hasinline="yes" \
  28. glib_cv_sane_realloc="yes" \
  29. glib_cv_va_copy="no" \
  30. glib_cv___va_copy="yes" \
  31. glib_cv_va_val_copy="yes" \
  32. glib_cv_rtldglobal_broken="no" \
  33. glib_cv_uscore="no" \
  34. ac_cv_func_getpwuid_r="yes" \
  35. glib_cv_func_pthread_mutex_trylock_posix="yes" \
  36. glib_cv_func_pthread_cond_timedwait_posix="yes" \
  37. glib_cv_sizeof_gmutex="24" \
  38. glib_cv_byte_contents_gmutex="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
  39. BUILD_STYLE= auto
  40. INSTALL_STYLE= auto confprog
  41. post-install:
  42. ${INSTALL_DIR} ${IDIR_GLIB1}/usr/lib
  43. ${CP} ${WRKINST}/usr/lib/libg{lib,module,thread}-1.2.so.* \
  44. ${IDIR_GLIB1}/usr/lib/
  45. # needed in staging_dir
  46. ${INSTALL_DIR} ${WRKINST}/usr/include/glib-1.2
  47. ${CP} ${WRKBUILD}/glibconfig-sysdefs.h ${WRKINST}/usr/include/glib-1.2/
  48. include ${TOPDIR}/mk/pkg-bottom.mk