blob: b71a590084a0bde7b6ca6c8f6b14689ef742ccc9 (
plain)
1 # Description: Low-level data structure handling, portability wrappers, and interfaces for runtime functionality
2 # URL: http://www.gtk.org/
3 # Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
4 # Depends on: libpcre libffi python
5
6 name=glib
7 version=2.58.3
8 release=1
9 source=(http://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz \
10 gschemas.compiled)
11
12 build () {
13 cd $name-$version
14
15 ./autogen.sh
16 ./configure --prefix=/usr \
17 --disable-man \
18 --with-pcre=system
19 make
20 make -j1 DESTDIR=$PKG install
21
22 install -d $PKG/usr/share/man/man1
23 find docs -name '*.1' -exec install -m 0644 {} $PKG/usr/share/man/man1 \;
24
25 install -m 0644 $SRC/gschemas.compiled $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
26 rm -rf $PKG/usr/share/{gtk-doc,locale}
27 rm -r $PKG/usr/share/bash-completion
28 }
|