CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: fixed AR usage and added ssl support (https)
[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
8eb8084e 7name=glib
74ebe140 8version=2.24.2
8eb8084e 9release=2
74ebe140 10source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2)
e471007e
VM
11
12build () {
13 cd $name-$version
14 cat > config.cache <<EOF
15glib_cv_long_long_format=ll
8eb8084e
JB
16glib_cv_stack_grows=yes
17glib_cv_uscore=no
e471007e
VM
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}