Commit | Line | Data |
---|---|---|
e471007e VM |
1 | # Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality |
2 | # URL: http://www.gtk.org/ | |
3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu | |
38b50d66 | 4 | # Arch Maintainer System Team devel at crux-arm dot nu |
e471007e VM |
5 | # Depends on: libpcre |
6 | ||
7 | name=glib | |
61821493 | 8 | version=2.22.4 |
e471007e VM |
9 | release=1 |
10 | source=(http://download.gnome.org/sources/$name/2.22/$name-$version.tar.bz2) | |
11 | ||
12 | build () { | |
13 | cd $name-$version | |
14 | cat > config.cache <<EOF | |
15 | glib_cv_long_long_format=ll | |
16 | glib_cv_stack_grows=no | |
17 | glib_cv_uscore=yes | |
18 | ac_cv_func_posix_getpwuid_r=yes | |
19 | ac_cv_func_posix_getgrgid_r=yes | |
20 | EOF | |
21 | ./configure --build=$CHOST \ | |
22 | --host=$CTARGET \ | |
23 | --prefix=/usr \ | |
24 | --mandir=/usr/man \ | |
25 | --enable-debug=no \ | |
26 | --with-pcre=system \ | |
27 | --cache-file=config.cache | |
28 | make | |
29 | make DESTDIR=$PKG install | |
30 | rm -rf $PKG/usr/share/{gtk-doc,locale} | |
31 | } |