blob: 6455ac35d4e63452a9b6bce70fb2308c6d57d51e (
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.48.0
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 ./configure --prefix=/usr \
16 --disable-man \
17 --with-pcre=system
18 make
19 make -j1 DESTDIR=$PKG install
20
21 install -d $PKG/usr/share/man/man1
22 find docs -name '*.1' -exec install -m 0644 {} $PKG/usr/share/man/man1 \;
23
24 install -m 0644 $SRC/gschemas.compiled $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
25 rm -rf $PKG/usr/share/{gtk-doc,locale}
26 rm -r $PKG/usr/share/bash-completion
27 }
|