CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pango: updated to 1.24.5 and fixed issues with autofolks stuff. Also updated the...
[attic/ports/opt-cross.git] / glib / Pkgfile
CommitLineData
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
7name=glib
ead038da 8version=2.24.0
e471007e 9release=1
ead038da 10source=(http://download.gnome.org/sources/$name/2.24/$name-$version.tar.bz2)
e471007e
VM
11
12build () {
13 cd $name-$version
14 cat > config.cache <<EOF
15glib_cv_long_long_format=ll
16glib_cv_stack_grows=no
17glib_cv_uscore=yes
18ac_cv_func_posix_getpwuid_r=yes
19ac_cv_func_posix_getgrgid_r=yes
20EOF
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}