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
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
4 # Arch Maintainer System Team devel at crux-arm dot nu
5 # Depends on: libpcre
6
7 name=glib
8 version=2.24.2
9 release=2
10 source=(http://download.gnome.org/sources/$name/${version%.*}/$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=yes
17 glib_cv_uscore=no
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 }