# Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
# URL: http://www.gtk.org/
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
-# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer System Team devel at crux-arm dot nu
# Depends on: libpcre
name=glib
-version=2.22.4
-release=1
-source=(http://download.gnome.org/sources/$name/2.22/$name-$version.tar.bz2)
+version=2.24.2
+release=2
+source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2)
build () {
cd $name-$version
cat > config.cache <<EOF
glib_cv_long_long_format=ll
-glib_cv_stack_grows=no
-glib_cv_uscore=yes
+glib_cv_stack_grows=yes
+glib_cv_uscore=no
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
EOF